script: Plug a leak
The SignalInfo structure gained a couple of string fields that should be deallocated when destroying the structure.
This commit is contained in:
parent
a9dd5abfcc
commit
8625f07c3b
@ -326,6 +326,8 @@ signal_info_free (gpointer data)
|
|||||||
g_free (sinfo->name);
|
g_free (sinfo->name);
|
||||||
g_free (sinfo->handler);
|
g_free (sinfo->handler);
|
||||||
g_free (sinfo->object);
|
g_free (sinfo->object);
|
||||||
|
g_free (sinfo->state);
|
||||||
|
g_free (sinfo->target);
|
||||||
|
|
||||||
g_slice_free (SignalInfo, sinfo);
|
g_slice_free (SignalInfo, sinfo);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user