Skip to content
  • Maciej S. Szmigiero's avatar
    Free the intermediate "cmd" variable in xfsm_startup_init() · d2c164fc
    Maciej S. Szmigiero authored and Romain Bouvier's avatar Romain Bouvier committed
    The memory pointed by "cmd" variable is allocated by g_strdup_printf()
    for ssh-agent command line, then this variable is overwritten to point
    to dbus-update-activation-environment command line without freeing the
    memory it previously pointed to.
    Let's add the missing g_free() call to avoid a memory leak.
    d2c164fc