Fix dbFreeBase() issue causing segfaults
This commit is contained in:
1 parent
1f36670175
commit
b4a8a1ac98
1 file changed
+1
-1
@@ -589,7 +589,7 @@ void dbFreeBase(dbBase *pdbbase)
|
||||
while (pguiGroup) {
|
||||
pguiGroupNext = (dbGuiGroup *)ellNext(&pguiGroup->node);
|
||||
gphDelete(pdbbase->pgpHash, pguiGroup->name, &pdbbase->guiGroupList);
|
||||
ellDelete(&pdbbase->bptList, &pguiGroup->node);
|
||||
ellDelete(&pdbbase->guiGroupList, &pguiGroup->node);
|
||||
free(pguiGroup->name);
|
||||
free((void *)pguiGroup);
|
||||
pguiGroup = pguiGroupNext;
|
||||
|
||||
Reference in new issue
Block a user