From 43f51d80f57af7454cb62305dab384661d0ffb31 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 22 Nov 2006 15:15:38 +0000 Subject: [PATCH] Crash bug fix (don't access NULL pointer) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/utils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/x11/utils.cpp b/src/x11/utils.cpp index 245463261e..80e3fcacda 100644 --- a/src/x11/utils.cpp +++ b/src/x11/utils.cpp @@ -110,6 +110,7 @@ void wxCheckForFinishedChildren() // Map empty, delete it. delete gs_procmap; gs_procmap = NULL; + return; } for (it = gs_procmap->begin();it != gs_procmap->end(); ++it) { -- 2.45.2