libxbps::xbps_remove_obsoletes(): reset a var to 0 in non fatal errors!

This commit is contained in:
Juan RP
2010-05-18 15:33:27 +02:00
parent 0074312dec
commit c4e9d86630
3 changed files with 7 additions and 1 deletions

View File

@@ -84,6 +84,7 @@ again:
* match the hash.
*/
free(file);
rv = 0;
continue;
}
} else {