=== modified file 'plugins/zeitgeist/gedit-zeitgeist-plugin.c'
--- plugins/zeitgeist/gedit-zeitgeist-plugin.c	2015-07-23 12:45:15 +0000
+++ plugins/zeitgeist/gedit-zeitgeist-plugin.c	2015-07-23 12:54:14 +0000
@@ -279,6 +279,7 @@
 	                                  "application://gedit.desktop", NULL, NULL);
 	ptr_arr = g_ptr_array_new ();
 	g_ptr_array_add (ptr_arr, event);
+        g_ptr_array_ref (ptr_arr);
 
 	ds = zeitgeist_data_source_new_full ("org.gnome.gedit,dataprovider",
 	                                     "Gedit dataprovider",

