Test pointer for NULL *before* dereferencing it, not immediately after (fix crash...
authorwiml <wiml@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 20 Sep 2002 17:25:21 +0000 (17:25 +0000)
committerwiml <wiml@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 20 Sep 2002 17:25:21 +0000 (17:25 +0000)
commitab0c0d4209a086795b25e9d9a47213d0bb89708d
tree618e4bad91aea73bd656abd9465174d748935077
parent5aa0681ba46f8b7846bc39142e897fd37f563416
Test pointer for NULL *before* dereferencing it, not immediately after (fix crash reported by Jesus Calvino-Fraga)

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2105 4a8a32a2-be11-0410-ad9d-d568d2c75423
src/mcs51/ralloc.c