dbStaticLib: set pdbbase=NULL after freeing
This commit is contained in:
1 parent
e06b0a87b2
commit
85e21863dc
1 file changed
+1
@@ -588,6 +588,7 @@ void dbFreeBase(dbBase *pdbbase)
|
||||
dbPvdFreeMem(pdbbase);
|
||||
dbFreePath(pdbbase);
|
||||
free((void *)pdbbase);
|
||||
pdbbase = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user