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 | 5ebe8faab2c02715bbc13412206aa00c1772b16c (patch) | |
tree | 22b3c42acb7d144eb63b5978778a1d9a6a07a5dd /gdk-pixbuf/io-pnm.c | |
parent | 166894bd8b77d45ace190a1b9ee1470f764b7beb (diff) | |
download | gtk+-5ebe8faab2c02715bbc13412206aa00c1772b16c.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 bb188eedf2..adf843f33c 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 */ |