mem leak
This commit is contained in:
parent
36ddd0c408
commit
a97b2f75fb
1 changed files with 1 additions and 0 deletions
|
@ -394,6 +394,7 @@ static void sm_save_yourself(SmcConn conn, SmPointer data, gint save_type,
|
||||||
|
|
||||||
if (!SmcRequestSaveYourselfPhase2(conn, sm_save_yourself_2, savedata)) {
|
if (!SmcRequestSaveYourselfPhase2(conn, sm_save_yourself_2, savedata)) {
|
||||||
ob_debug_type(OB_DEBUG_SM, "Requst for phase 2 failed\n");
|
ob_debug_type(OB_DEBUG_SM, "Requst for phase 2 failed\n");
|
||||||
|
g_free(savedata);
|
||||||
SmcSaveYourselfDone(conn, FALSE);
|
SmcSaveYourselfDone(conn, FALSE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue