Commit 826976a1 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Avoid free of random memory if desktop file reading failed.

2008-02-18  Alexander Larsson  <alexl@redhat.com>

        * libnautilus-private/nautilus-directory-async.c:
        (link_info_nautilus_link_read_callback):
	Avoid free of random memory if desktop file reading
	failed.


svn path=/trunk/; revision=13766
parent 5cd96715
2008-02-18 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-directory-async.c:
(link_info_nautilus_link_read_callback):
Avoid free of random memory if desktop file reading
failed.
2008-02-15 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-dnd.c:
......
......@@ -3601,7 +3601,9 @@ link_info_nautilus_link_read_callback (GObject *source_object,
link_info_got_data (state->directory, state->file, result, file_size, file_contents);
g_free (file_contents);
if (result) {
g_free (file_contents);
}
link_info_read_state_free (state);
......
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