ioc/dbStatic: plug leak in dbFreeBase()

This commit is contained in:
Michael Davidsaver committed 2017-05-02 18:02:05 -04:00
1 parent dcac64d50f
commit 1ffce72a38
1 file changed
+1
+1
View File
@@ -651,6 +651,7 @@ void epicsShareAPI dbFreeBase(dbBase *pdbbase)
ellDelete(&pdbRecordType->attributeList,&pAttribute->node);
free((void *)pAttribute->name);
free((void *)pAttribute->pdbFldDes);
free(pAttribute);
pAttribute = pAttributeNext;
}
pdbRecordTypeNext = (dbRecordType *)ellNext(&pdbRecordType->node);