diff options
author | Bastien Nocera <hadess@hadess.net> | 2016-12-16 12:27:20 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2016-12-16 16:38:07 +0100 |
commit | daaae1b9b8c47be4789191af10dda0004bd4da90 (patch) | |
tree | 35cf3b13362c8fe7b2654f647f2bf6ac99ae101e /tests | |
parent | deccabb108abbece70720fa87b2479cb89d3c1ed (diff) | |
download | gdk-pixbuf-daaae1b9b8c47be4789191af10dda0004bd4da90.tar.gz |
tests: Additional test for bug 775693
https://bugzilla.gnome.org/show_bug.cgi?id=775693
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pixbuf-pixdata.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/pixbuf-pixdata.c b/tests/pixbuf-pixdata.c index 0493fc548..a81e41cac 100644 --- a/tests/pixbuf-pixdata.c +++ b/tests/pixbuf-pixdata.c @@ -47,6 +47,10 @@ test_pixdata_deserialize (gconstpointer data) g_assert_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE); g_clear_error (&error); + pixbuf = gdk_pixbuf_from_pixdata (&pixdata, FALSE, &error); + g_assert_error (error, GDK_PIXBUF_ERROR, GDK_PIXBUF_ERROR_CORRUPT_IMAGE); + g_clear_error (&error); + g_clear_object (&pixbuf); } G_GNUC_END_IGNORE_DEPRECATIONS |