Changeset 5275


Ignore:
Timestamp:
Mar 18, 2008, 1:06:06 AM (14 years ago)
Author:
charles
Message:

(gtk) plug a couple of small memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr-prefs.c

    r5237 r5275  
    149149    g_signal_connect( w, "selection-changed", G_CALLBACK(chosen_cb), core );
    150150    gtk_file_chooser_set_current_folder( GTK_FILE_CHOOSER(w), path );
     151    g_free( path );
    151152    return w;
    152153}
     
    185186        /*g_message(" got len %d, [%*.*s]", size, size, size, text );*/
    186187        isOpen = text && *text=='1';
     188        free( text );
    187189
    188190        if( *data->alive )
     
    233235#endif
    234236
    235         s = _( "Show _options dialog" );
     237        s = _( "_Prompt for file selections and priorities" );
    236238        w = new_check_button( s, PREF_KEY_OPTIONS_PROMPT, core );
    237239        hig_workarea_add_wide_control( t, &row, w );
Note: See TracChangeset for help on using the changeset viewer.