diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-03-13 18:11:15 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-03-13 18:11:15 +0000 |
commit | d7dd74ec171d4a62d2844a6c2425aaf4a01612de (patch) | |
tree | 1fcf3420c0bd735fa8af24ee4ea31fcfd975c7e5 /gdk-pixbuf/io-pnm.c | |
parent | 29de6a9aea6b69b5488b37c5027fcc27e645dab9 (diff) | |
download | gdk-pixbuf-d7dd74ec171d4a62d2844a6c2425aaf4a01612de.tar.gz |
Add valid_ras_test and invalid_bmp_1.
* test-images.h: Add valid_ras_test and invalid_bmp_1.
* test-loaders.c (main): Add random tests for ras and pnm and an
invalid bmp which was a crasher until my 2002-03-12 commit.
* io-pnm.c (gdk_pixbuf__pnm_image_load_increment): Don't unref the
pixbuf on errors.
* io-ras.c: Handle some errors.
Diffstat (limited to 'gdk-pixbuf/io-pnm.c')
-rw-r--r-- | gdk-pixbuf/io-pnm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdk-pixbuf/io-pnm.c b/gdk-pixbuf/io-pnm.c index bb188eedf..adf843f33 100644 --- a/gdk-pixbuf/io-pnm.c +++ b/gdk-pixbuf/io-pnm.c @@ -1013,8 +1013,6 @@ gdk_pixbuf__pnm_image_load_increment (gpointer data, if (retval == PNM_SUSPEND) { break; } else if (retval == PNM_FATAL_ERR) { - if (context->pixbuf) - g_object_unref (context->pixbuf); return FALSE; } else if (retval == PNM_OK) { /* send updated signal */ |