dbStaticLib: set pdbbase=NULL after freeing

This commit is contained in:
Michael Davidsaver
2015-01-05 17:43:17 -05:00
parent e06b0a87b2
commit 85e21863dc
+1
View File
@@ -588,6 +588,7 @@ void dbFreeBase(dbBase *pdbbase)
dbPvdFreeMem(pdbbase);
dbFreePath(pdbbase);
free((void *)pdbbase);
pdbbase = NULL;
return;
}