X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Flookup_table.c;h=432873414d822a81fbda43bbcbd2c48af07bcd0d;hb=c5746b5e79df3d5c129f6185cf5fa130ab0512df;hp=496cc8ee078e23e91f606d5756f46e0c58dba45a;hpb=45d7e8a4f1740974e1dacd221676f9ec38c6b272;p=wimlib diff --git a/src/lookup_table.c b/src/lookup_table.c index 496cc8ee..43287341 100644 --- a/src/lookup_table.c +++ b/src/lookup_table.c @@ -381,7 +381,7 @@ sort_stream_list_by_sequential_order(struct list_head *stream_list, array_size = num_streams * sizeof(array[0]); array = MALLOC(array_size); - if (!array) + if (array == NULL) return WIMLIB_ERR_NOMEM; cur = stream_list->next; for (i = 0; i < num_streams; i++) {