mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
Fix a recently-introduced memory leak.
This commit is contained in:
parent
94f7caba34
commit
2d055ae6ce
1 changed files with 1 additions and 0 deletions
|
@ -331,6 +331,7 @@ static void
|
||||||
freedata(gpointer gdata, GClosure *closure SHUTUP) {
|
freedata(gpointer gdata, GClosure *closure SHUTUP) {
|
||||||
struct prefdata *data = gdata;
|
struct prefdata *data = gdata;
|
||||||
|
|
||||||
|
g_list_free(data->prefwidgets);
|
||||||
g_object_unref(G_OBJECT(data->back));
|
g_object_unref(G_OBJECT(data->back));
|
||||||
g_free(data);
|
g_free(data);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue