Commit 13f82297 authored by Kevin Kubasik's avatar Kevin Kubasik Committed by Kevin Kubasik

Fix a memory leak from the last commit.

2007-12-04 Kevin Kubasik <kevin@kubasik.net>
	* libnautilus-private/nautilus-search-engine-beagle.c:
	Fix a memory leak from the last commit.


svn path=/trunk/; revision=13488
parent a39cea26
2007-12-04 Kevin Kubasik <kevin@kubasik.net>
* libnautilus-private/nautilus-search-engine-beagle.c:
Fix a memory leak from the last commit.
2007-12-04 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-file-operations.c:
......
......@@ -187,8 +187,11 @@ nautilus_search_engine_beagle_start (NautilusSearchEngine *engine)
mimetypes = nautilus_query_get_mime_types (beagle->details->query);
for (l = mimetypes; l != NULL; l = l->next) {
char* temp;
mimetype = l->data;
beagle_query_add_text (beagle->details->current_query,g_strconcat ("mimetype:", mimetype, NULL));
temp = g_strconcat ("mimetype:", mimetype, NULL);
beagle_query_add_text (beagle->details->current_query,temp);
g_free (temp);
}
beagle->details->current_query_uri_prefix = nautilus_query_get_location (beagle->details->query);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment