Commit b7b2a5ca authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Don't dereference context when it may be NULL. (#62344)

        * io-xbm.c (gdk_pixbuf__xbm_image_load_real): Don't dereference
        context when it may be NULL. (#62344)
parent 1ca09bab
2001-10-18 Matthias Clasen <matthiasc@poet.de>
* io-xbm.c (gdk_pixbuf__xbm_image_load_real): Don't dereference
context when it may be NULL. (#62344)
2001-10-16 Matthias Clasen <matthiasc@poet.de>
* gdk-pixdata.c, gdk-pixdata.h: Documentation.
......
......@@ -281,8 +281,7 @@ gdk_pixbuf__xbm_image_load_real (FILE *f, XBMData *context, GError **error)
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
_("Invalid XBM file: %s"),
context->tempname);
_("Invalid XBM file"));
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment