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:
parent
c88d254d09
commit
4f31e5d02a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue