CID 991517: Resource Leak in PackageInfo::Parse()

This commit is contained in:
Philippe Saint-Pierre 2015-06-24 16:26:11 -04:00
parent 53711093fa
commit e3e5e00627

View File

@ -350,6 +350,7 @@ PackageInfo::Parse()
BPath *path = new BPath();
status_t ret = find_directory(dir, path);
if (ret != B_OK) {
delete path;
RETURN_AND_SET_STATUS(B_ERROR);
}