applied patch from Michael Sweet to correct NULL deref in splash screen.

Sun May 17 23:06:38 EDT 1998  Matthew Wilson  <msw@gimp.org>

        * app/app_procs.c: applied patch from Michael Sweet to correct
        NULL deref in splash screen.
--Matt
This commit is contained in:
EDT 1998 Matthew Wilson 1998-05-18 03:07:43 +00:00 committed by Matt Wilson
parent 11832a6f1d
commit eface111d7
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sun May 17 23:06:38 EDT 1998 Matthew Wilson <msw@gimp.org>
* app/app_procs.c: applied patch from Michael Sweet to correct
NULL deref in splash screen.
Mon May 18 02:50:03 MEST 1998 Sven Neumann <sven@gimp.org>
* plug-ins/tiff/tiff.c: updated tiff plug-in

View File

@ -315,7 +315,8 @@ destroy_initialization_status_window(void)
if(win_initstatus)
{
gtk_widget_destroy(win_initstatus);
gdk_pixmap_unref(logo_pixmap);
if (logo_pixmap != NULL)
gdk_pixmap_unref(logo_pixmap);
win_initstatus = label1 = label2 = pbar = logo_area = NULL;
logo_pixmap = NULL;
gtk_idle_remove(idle_tag);