mirror of
https://github.com/transmission/transmission.git
synced 2025-12-26 13:21:44 +00:00
(trunk gtk) fix a couple of small memory leaks in the gtk+ client, found by valgrind
This commit is contained in:
@@ -52,6 +52,8 @@ freeMetaUI( gpointer p )
|
||||
{
|
||||
MakeMetaUI * ui = p;
|
||||
|
||||
tr_metaInfoBuilderFree( ui->builder );
|
||||
tr_free( ui->target );
|
||||
memset( ui, ~0, sizeof( MakeMetaUI ) );
|
||||
g_free( ui );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user