Commit 3839fd22 authored by Paolo Borelli's avatar Paolo Borelli Committed by Paolo Borelli

do not leak the location string when autocompleting.

2008-03-23  Paolo Borelli  <pborelli@katamail.com>

	* src/nautilus-location-entry.c: do not leak the
	location string when autocompleting.


svn path=/trunk/; revision=13978
parent 3a087667
2008-03-23 Paolo Borelli <pborelli@katamail.com>
* src/nautilus-location-entry.c: do not leak the
location string when autocompleting.
2008-03-23 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-directory-async.c
......
......@@ -92,7 +92,8 @@ try_to_expand_path (gpointer callback_data)
suffix = g_filename_completer_get_completion_suffix (entry->details->completer,
user_location);
g_free (user_location);
/* if we've got something, add it to the entry */
if (suffix != NULL) {
pos = user_location_length;
......
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