mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk gtk) fix memory leak
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user