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
This commit is contained in:
Julian Smart 2006-11-22 15:15:38 +00:00
parent 4ed696943f
commit 43f51d80f5

View 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)
{