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:
Emmanuele Bassi 2011-06-13 13:08:26 +01:00
parent a9dd5abfcc
commit 8625f07c3b

View File

@ -326,6 +326,8 @@ signal_info_free (gpointer data)
g_free (sinfo->name);
g_free (sinfo->handler);
g_free (sinfo->object);
g_free (sinfo->state);
g_free (sinfo->target);
g_slice_free (SignalInfo, sinfo);
}