diff --git a/src/sdl-instead/graphics.c b/src/sdl-instead/graphics.c index 4ee6e40..e9a0407 100644 --- a/src/sdl-instead/graphics.c +++ b/src/sdl-instead/graphics.c @@ -2331,7 +2331,7 @@ img_t get_img(struct layout *layout, char *p) if (!img) { unix_path(p); if (!(img = gfx_load_image(p))) - return NULL; + goto out; theme_img_scale(&img); /* bad style, no gfx layer :( */ } image = image_new(p, img);