forked from ariadne/pkgconf
main: goto cleanup in validate case too
This fixes leaks in two tests
parent
2133830c21
commit
b26f19cebf
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue