X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Flookup_table.c;h=432873414d822a81fbda43bbcbd2c48af07bcd0d;hp=496cc8ee078e23e91f606d5756f46e0c58dba45a;hb=c5746b5e79df3d5c129f6185cf5fa130ab0512df;hpb=2e6b4c5e5343353b1edaa695fff0ee4143e65af6 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++) {