Revision: 990 http://svn.sourceforge.net/geany/?rev=990&view=rev Author: ntrel Date: 2006-11-13 08:47:26 -0800 (Mon, 13 Nov 2006)
Log Message: ----------- Fix invalid memory write in on_exit_clicked().
Modified Paths: -------------- trunk/ChangeLog trunk/src/callbacks.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-11-13 16:38:39 UTC (rev 989) +++ trunk/ChangeLog 2006-11-13 16:47:26 UTC (rev 990) @@ -1,6 +1,7 @@ 2006-11-13 Nick Treleaven nick.treleaven@btinternet.com
* src/sci_cb.c: Fix invalid memory read in sci_cb_get_indent(). + * src/callbacks.c: Fix invalid memory write in on_exit_clicked().
2006-11-12 Nick Treleaven nick.treleaven@btinternet.com
Modified: trunk/src/callbacks.c =================================================================== --- trunk/src/callbacks.c 2006-11-13 16:38:39 UTC (rev 989) +++ trunk/src/callbacks.c 2006-11-13 16:47:26 UTC (rev 990) @@ -149,13 +149,19 @@ if (! check_no_unsaved()) { if (account_for_unsaved()) + { quit_app(); + return FALSE; + } } else if (! app->pref_main_confirm_exit || dialogs_show_question_full(GTK_STOCK_QUIT, GTK_STOCK_CANCEL, NULL, _("Do you really want to quit?"))) - quit_app(); + { + quit_app(); + return FALSE; + }
app->quitting = FALSE; return TRUE;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.