X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fextract.c;h=fb96f13f8723bf26d0e24f9acfd4e9d051bb22c6;hp=40e3296484a18fcbef0d0e624bfcd6117d8f24e0;hb=24f13cb8e265b848c4633e0adb91d4f25a618743;hpb=bb980160a4e612af0e46b4b69f06acd7b4adffe2 diff --git a/src/extract.c b/src/extract.c index 40e32964..fb96f13f 100644 --- a/src/extract.c +++ b/src/extract.c @@ -269,7 +269,7 @@ load_streams_from_pipe(struct apply_ctx *ctx, } ret = 0; out: - if (found_lte->resource_location != RESOURCE_IN_WIM) + if (found_lte && found_lte->resource_location != RESOURCE_IN_WIM) FREE(rspec); free_lookup_table_entry(found_lte); return ret;