main: cleanup when validating

This clears up a few memory leaks in tests
Dylan Baker 2022-07-27 14:14:46 -07:00
parent 7025581da8
commit ee06ab42d2
1 changed files with 1 additions and 1 deletions

View File

@ -1337,7 +1337,7 @@ main(int argc, char *argv[])
}
if ((want_flags & PKG_VALIDATE) == PKG_VALIDATE)
return 0;
goto out;
if ((want_flags & PKG_UNINSTALLED) == PKG_UNINSTALLED)
{