projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e15ba53
)
gfile: Fix memory leak in g_file_move()
author
David King
<amigadave@amigadave.com>
Wed, 7 May 2014 09:25:40 +0000
(10:25 +0100)
committer
David King
<amigadave@amigadave.com>
Mon, 28 Jul 2014 12:48:23 +0000
(14:48 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=729703
gio/gfile.c
patch
|
blob
|
history
diff --git
a/gio/gfile.c
b/gio/gfile.c
index
d69c0d5
..
61ddaac
100644
(file)
--- a/
gio/gfile.c
+++ b/
gio/gfile.c
@@
-3552,6
+3552,8
@@
g_file_move (GFile *source,
g_propagate_error (error, my_error);
return FALSE;
}
+ else
+ g_clear_error (&my_error);
}
/* If the types are different, and the destination method failed
@@
-3577,6
+3579,8
@@
g_file_move (GFile *source,
g_propagate_error (error, my_error);
return FALSE;
}
+ else
+ g_clear_error (&my_error);
}
}