1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

(trunk gtk) fix memory leak

This commit is contained in:
Charles Kerr 2010-03-18 03:40:32 +00:00
parent c88d254d09
commit 4f31e5d02a

View file

@ -317,9 +317,9 @@ category_filter_model_update( GtkTreeStore * store )
}
/* cleanup */
g_ptr_array_foreach( hosts, (GFunc)g_free, NULL );
g_ptr_array_free( hosts, TRUE );
g_hash_table_unref( hosts_hash );
g_ptr_array_foreach( hosts, (GFunc)g_free, NULL );
return FALSE;
}