Fix pc_patch_lazperf_compute_extent return value

This commit is contained in:
Éric Lemoine 2017-01-23 23:04:40 +01:00 committed by Sandro Santilli
parent 122848cf28
commit 784776ea5b

View File

@ -226,7 +226,7 @@ pc_patch_lazperf_compute_extent(PCPATCH_LAZPERF *patch)
{
#ifndef HAVE_LAZPERF
pcerror("%s: lazperf support is not enabled", __func__);
return NULL;
return PC_FAILURE;
#endif
PCPATCH_UNCOMPRESSED *pau = pc_patch_uncompressed_from_lazperf(patch);