aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/image.c b/src/image.c
index fb3cdecaa54..9dce2bf1cd1 100644
--- a/src/image.c
+++ b/src/image.c
@@ -2549,6 +2549,7 @@ image_load_quartz2d (f, img, png_p)
2549 2549
2550 if (!check_image_size (f, width, height)) 2550 if (!check_image_size (f, width, height))
2551 { 2551 {
2552 CGImageRelease (image);
2552 UNGCPRO; 2553 UNGCPRO;
2553 image_error ("Invalid image size", Qnil, Qnil); 2554 image_error ("Invalid image size", Qnil, Qnil);
2554 return 0; 2555 return 0;