aboutsummaryrefslogtreecommitdiffstats
path: root/devel/desktop-file-utils/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/desktop-file-utils/files')
-rw-r--r--devel/desktop-file-utils/files/patch-src::update-desktop-database.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/desktop-file-utils/files/patch-src::update-desktop-database.c b/devel/desktop-file-utils/files/patch-src::update-desktop-database.c
new file mode 100644
index 000000000000..68de9906df66
--- /dev/null
+++ b/devel/desktop-file-utils/files/patch-src::update-desktop-database.c
@@ -0,0 +1,11 @@
+--- src/update-desktop-database.c.orig Fri Aug 6 17:36:29 2004
++++ src/update-desktop-database.c Fri Aug 6 17:35:41 2004
+@@ -381,7 +381,7 @@
+
+ for (i = 0; data_dirs[i] != NULL; i++);
+
+- args = g_new (char *, i + 1);
++ args = g_new0 (char *, i + 1);
+
+ for (i = 0; data_dirs[i] != NULL; i++)
+ args[i] = g_build_filename (data_dirs[i], "applications", NULL);