diff options
Diffstat (limited to 'src/file-manager/fm-list-view.c')
-rw-r--r-- | src/file-manager/fm-list-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/file-manager/fm-list-view.c b/src/file-manager/fm-list-view.c index 937d37c82..bf8db4d7b 100644 --- a/src/file-manager/fm-list-view.c +++ b/src/file-manager/fm-list-view.c @@ -1539,7 +1539,9 @@ install_row_images (FMListView *list_view, guint row) &pixmap, &bitmap); gtk_clist_set_pixmap (clist, row, LIST_VIEW_COLUMN_ICON, pixmap, bitmap); gdk_pixmap_unref (pixmap); - gdk_bitmap_unref (bitmap); + if (bitmap != NULL) { + gdk_bitmap_unref (bitmap); + } /* Install any emblems for this file. */ nautilus_list_set_pixbuf_list (list, row, LIST_VIEW_COLUMN_EMBLEMS, |