1
0
Fork 0
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:
Charles Kerr 2010-01-20 14:16:44 +00:00
parent a6634e4300
commit d31e93163d

View file

@ -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 );
}