ioc/dbStatic: plug leak in dbFreeBase()

This commit is contained in:
Michael Davidsaver
2017-05-02 18:02:05 -04:00
parent dcac64d50f
commit 1ffce72a38

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);