'everything' fix segv in tracker plugin

SVN revision: 47249
This commit is contained in:
Hannes Janetzek 2010-03-15 19:47:36 +00:00
parent a1e8825e2b
commit df3346704f
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ _fetch(Evry_Plugin *plugin, const char *input)
e_dbus_message_send(conn, msg, _dbus_cb_reply, -1, p);
dbus_message_unref(msg);
if (search_text)
if (search_text && search_text[0] != '\0')
free(search_text);
if (p->files) return 1;