Changeset 5636 for trunk/gtk/dialogs.c


Ignore:
Timestamp:
Apr 17, 2008, 7:54:22 PM (14 years ago)
Author:
charles
Message:

fix a couple more minor leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/dialogs.c

    r5596 r5636  
    153153        tr_core_remove_torrent( data->core, l->data, data->delete_files );
    154154    g_slist_free( data->torrents );
     155    data->torrents = NULL;
    155156}
    156157
     
    167168
    168169    gtk_widget_destroy( GTK_WIDGET( dialog ) );
     170    g_slist_free( data->torrents );
    169171    g_free( data );
    170172}
Note: See TracChangeset for help on using the changeset viewer.