]> Dogcows Code - chaz/openbox/commitdiff
mem leak
authorDana Jansens <danakj@orodu.net>
Wed, 9 May 2007 21:17:31 +0000 (21:17 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 9 May 2007 21:17:31 +0000 (21:17 +0000)
openbox/session.c

index 463e98933610301a7d949702cf0a08a6f29babc2..2c189ed087ac5e240a06ca3474a3dba0da3b76cf 100644 (file)
@@ -394,6 +394,7 @@ static void sm_save_yourself(SmcConn conn, SmPointer data, gint save_type,
 
     if (!SmcRequestSaveYourselfPhase2(conn, sm_save_yourself_2, savedata)) {
         ob_debug_type(OB_DEBUG_SM, "Requst for phase 2 failed\n");
+        g_free(savedata);
         SmcSaveYourselfDone(conn, FALSE);
     }
 }
This page took 0.028016 seconds and 4 git commands to generate.