mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +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:
committed by
Carlos R. Mafra
parent
6dd1498f7c
commit
6a044fe5ae
@@ -161,7 +161,7 @@ RImage *RLoadJPEG(const char *file_name)
|
||||
if (buffer[0])
|
||||
free(buffer[0]);
|
||||
|
||||
return image;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
jpeg_start_decompress(&cinfo);
|
||||
|
||||
Reference in New Issue
Block a user