• Show log

    Commit

  • Hash : 95e29079
    Author : Peter Hutterer
    Date : 2021-03-18T12:22:34

    xkbcomp: plug a potential memory leak
    
    libxkbcommon-1.0.3/src/xkbcomp/ast-build.c:526: leaked_storage: Variable "file"
    going out of scope leaks the storage it points to.
    
    Where we exit the loop early, we don't release the various allocated memory.
    
    Make this patch more obvious my moving the declaration for those into the loop
    as well, this way we know that they aren't used outside the loop anywhere.
    
    Found by coverity
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libxkbcommon.git
    Git SSH git@git.kmx.io:kc3-lang/libxkbcommon.git
    Public access ? public
    Description

    keymap handling library for toolkits and window systems

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags