Changeset 3393 for trunk/jons-gtk2-gui

Show
Ignore:
Timestamp:
03/22/03 02:49:17 (6 years ago)
Author:
bostjanlah
Message:

Fix a crash due to invalid free

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jons-gtk2-gui/src/file_window.cpp

    r3383 r3393  
    471471    char *txt; 
    472472    if (elapsed != 0) { 
    473         g_strdup_printf("%02ld:%02ld:%02ld", 
     473        txt = g_strdup_printf("%02ld:%02ld:%02ld", 
    474474                elapsed / 3600, (elapsed % 3600) / 60, (elapsed % 60)); 
    475475        gtk_entry_set_text(GTK_ENTRY(fw->time), txt);