Wed, 08 Feb 2006 04:13:10 +0000
[gaim-migrate @ 15535]
SF Patch #1414306 from Sadrul
Don't free dialog before we're done with it.
committer: Richard Laager <rlaager@pidgin.im>
| src/gtksavedstatuses.c | file | annotate | diff | comparison | revisions |
--- a/src/gtksavedstatuses.c Wed Feb 08 04:10:14 2006 +0000 +++ b/src/gtksavedstatuses.c Wed Feb 08 04:13:10 2006 +0000 @@ -764,7 +764,6 @@ gtk_widget_destroy(dialog->window); g_free(dialog->original_title); - g_free(dialog); if (status_window != NULL) add_status_to_saved_status_list(status_window->model, saved_status); @@ -772,6 +771,7 @@ /* If they clicked on "Save & Use" or "Use," then activate the status */ if (button != dialog->save_button) gaim_savedstatus_activate(saved_status); + g_free(dialog); } static void