Add xfce packages.
[openwrt/svn-archive/feeds.git] / xfce / app / xfce4-appfinder / patches / 010-dont-crash-on-empty-category.patch
diff --git a/xfce/app/xfce4-appfinder/patches/010-dont-crash-on-empty-category.patch b/xfce/app/xfce4-appfinder/patches/010-dont-crash-on-empty-category.patch
new file mode 100644 (file)
index 0000000..b475c39
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/src/xfce-appfinder-window.c
++++ b/src/xfce-appfinder-window.c
+@@ -1208,7 +1208,8 @@ _xfce_appfinder_window_visible_func (GtkTreeModel *filter,
+   g_free (search_text);
+   g_free (text);
+-  g_free (category);
++  if (category)
++    g_free (category);
+   return visible;
+ }