1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

load_jpeg.c Return NULL

The image is NULL, we can return NULL here.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
Rodolfo García Peñas (kix)
2019-06-20 00:40:12 +02:00
committed by Carlos R. Mafra
parent 6dd1498f7c
commit 6a044fe5ae

View File

@@ -161,7 +161,7 @@ RImage *RLoadJPEG(const char *file_name)
if (buffer[0])
free(buffer[0]);
return image;
return NULL;
}
jpeg_start_decompress(&cinfo);