[gthumb] fixed crash when the pixbuf is null
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] fixed crash when the pixbuf is null
- Date: Sun, 29 May 2011 15:33:00 +0000 (UTC)
commit 06306a022657eef992c238734f717607b78b3878
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun May 29 15:15:01 2011 +0200
fixed crash when the pixbuf is null
gthumb/pixbuf-io.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/pixbuf-io.c b/gthumb/pixbuf-io.c
index 29480c6..961d7fb 100644
--- a/gthumb/pixbuf-io.c
+++ b/gthumb/pixbuf-io.c
@@ -403,7 +403,7 @@ gth_pixbuf_new_from_file (GthFileData *file_data,
image = gth_image_new_for_pixbuf (pixbuf);
- g_object_unref (pixbuf);
+ _g_object_unref (pixbuf);
g_free (path);
return image;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]