mirror of
https://github.com/transmission/transmission
synced 2025-01-31 03:12:44 +00:00
(trunk gtk) fix a couple of small memory leaks in the gtk+ client, found by valgrind
This commit is contained in:
parent
a6634e4300
commit
d31e93163d
1 changed files with 2 additions and 0 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue