forked from Telodendria/Telodendria
Fix leak in DbList()
This commit is contained in:
parent
676d6f4c61
commit
1770789333
1 changed files with 1 additions and 0 deletions
1
src/Db.c
1
src/Db.c
|
@ -826,6 +826,7 @@ DbList(Db * db, size_t nArgs,...)
|
|||
if (!files)
|
||||
{
|
||||
ArrayFree(path);
|
||||
ArrayFree(result);
|
||||
Free(dir);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue