[eog/gnome-2-32] Plug a couple of leaks
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/gnome-2-32] Plug a couple of leaks
- Date: Wed, 8 Sep 2010 23:10:43 +0000 (UTC)
commit 13dc369d50f83b14417e23a101417fbc612286a9
Author: Claudio Saavedra <csaavedra igalia com>
Date: Thu Sep 9 02:09:40 2010 +0300
Plug a couple of leaks
src/eog-window.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index 20c3937..6432d19 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -3004,6 +3004,8 @@ eog_job_copy_cb (EogJobCopy *job, gpointer user_data)
filename = g_strdup_printf ("%s.%s", EOG_WALLPAPER_FILENAME, extension);
filepath = g_build_filename (job->dest, filename, NULL);
dest_file = g_file_new_for_path (filepath);
+ g_free (filename);
+ g_free (extension);
/* Move the file */
g_file_move (source_file, dest_file, G_FILE_COPY_OVERWRITE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]