mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-29 03:34:16 +00:00
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
This commit is contained in:
parent
5cd967156e
commit
826976a191
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue