dbStaticLib.c: clean pdbbase after free

This commit is contained in:
Michael Davidsaver
2015-02-17 11:01:49 -05:00
parent b996e63beb
commit 2623c2f46f

View File

@@ -727,6 +727,7 @@ void epicsShareAPI dbFreeBase(dbBase *pdbbase)
dbPvdFreeMem(pdbbase);
dbFreePath(pdbbase);
free((void *)pdbbase);
pdbbase = NULL;
return;
}