]> git.saurik.com Git - wxWidgets.git/commitdiff
Crash bug fix (don't access NULL pointer)
authorJulian Smart <julian@anthemion.co.uk>
Wed, 22 Nov 2006 15:15:38 +0000 (15:15 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 22 Nov 2006 15:15:38 +0000 (15:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/utils.cpp

index 245463261e5e091097da522bb83909bae6f03e8c..80e3fcacdabbe901de175ab01000f63d2e717206 100644 (file)
@@ -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)
     {