Fix leak in DbList()

This commit is contained in:
Jordan Bancino 2023-03-03 03:11:49 +00:00
parent 676d6f4c61
commit 1770789333

View file

@ -826,6 +826,7 @@ DbList(Db * db, size_t nArgs,...)
if (!files)
{
ArrayFree(path);
ArrayFree(result);
Free(dir);
return NULL;
}