mirror of https://github.com/GNOME/gimp.git
file-exr: Fix a possible crash upon failure
This commit is contained in:
parent
8d89efaff5
commit
7a671d3157
|
@ -297,7 +297,8 @@ load_image (const gchar *filename,
|
||||||
if (pixels)
|
if (pixels)
|
||||||
g_free (pixels);
|
g_free (pixels);
|
||||||
|
|
||||||
exr_loader_unref (loader);
|
if (loader)
|
||||||
|
exr_loader_unref (loader);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue