diff options
Diffstat (limited to 'src/plugins/fs/meta.c')
-rw-r--r-- | src/plugins/fs/meta.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/fs/meta.c b/src/plugins/fs/meta.c index 044e9d82..8009368f 100644 --- a/src/plugins/fs/meta.c +++ b/src/plugins/fs/meta.c | |||
@@ -108,9 +108,11 @@ void createMetaDataListTreeView(GladeXML * xml, | |||
108 | pixbuf = gdk_pixbuf_loader_get_pixbuf(loader); | 108 | pixbuf = gdk_pixbuf_loader_get_pixbuf(loader); |
109 | gdk_pixbuf_loader_close(loader, | 109 | gdk_pixbuf_loader_close(loader, |
110 | NULL); | 110 | NULL); |
111 | gtk_image_set_from_pixbuf(GTK_IMAGE(preview), | 111 | if (pixbuf != NULL) { |
112 | pixbuf); | 112 | gtk_image_set_from_pixbuf(GTK_IMAGE(preview), |
113 | g_object_unref(pixbuf); | 113 | pixbuf); |
114 | g_object_unref(pixbuf); | ||
115 | } | ||
114 | } | 116 | } |
115 | } | 117 | } |
116 | 118 | ||