diff options
author | Alexander Larsson <alexl@redhat.com> | 2006-08-17 10:11:17 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2006-08-17 10:11:17 +0000 |
commit | d43d500a06b47b1a355a93f1928d9701e4126381 (patch) | |
tree | 02ca987fc95614b45fcf6eb8baf5a81cc19ae68f /libnautilus-private/nautilus-recent.c | |
parent | f7bc1f310918ae092ca3529291e4288ed605a1ab (diff) | |
download | nautilus-d43d500a06b47b1a355a93f1928d9701e4126381.tar.gz |
Fix double free. Patch from Rouslan Solomakhin
2006-08-17 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-recent.c (nautilus_recent_add_file):
Fix double free.
Patch from Rouslan Solomakhin
Diffstat (limited to 'libnautilus-private/nautilus-recent.c')
-rw-r--r-- | libnautilus-private/nautilus-recent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-recent.c b/libnautilus-private/nautilus-recent.c index 6a82bfb46..8c6fd6e4e 100644 --- a/libnautilus-private/nautilus-recent.c +++ b/libnautilus-private/nautilus-recent.c @@ -63,7 +63,7 @@ nautilus_recent_add_file (NautilusFile *file, if (application != NULL) recent_data.app_exec = g_strdup (gnome_vfs_mime_application_get_exec (application)); else - recent_data.app_exec = DEFAULT_APP_EXEC; + recent_data.app_exec = g_strdup (DEFAULT_APP_EXEC); recent_data.groups = NULL; recent_data.is_private = FALSE; |