xbps_find_pkg_orphans: make returned array immutable.

This commit is contained in:
Juan RP 2012-01-21 10:21:01 +01:00
parent 1781231454
commit 4758635f15

View File

@ -187,6 +187,7 @@ xbps_find_pkg_orphans(prop_array_t orphans_user)
return NULL;
}
array = prop_array_copy(od.array);
prop_array_make_immutable(array);
prop_object_release(od.array);
return array;
}