[nautilus] Don't free uninitilized errors
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Don't free uninitilized errors
- Date: Fri, 27 Nov 2009 14:00:30 +0000 (UTC)
commit 519ec1ef646f5edeff75801e592ab8f9e7423f82
Author: Alexander Larsson <alexl redhat com>
Date: Fri Nov 27 14:36:12 2009 +0100
Don't free uninitilized errors
test_dir_is_parent doesn't set error, so no need to free it.
libnautilus-private/nautilus-file-operations.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-operations.c b/libnautilus-private/nautilus-file-operations.c
index aa00a2c..9f3503e 100644
--- a/libnautilus-private/nautilus-file-operations.c
+++ b/libnautilus-private/nautilus-file-operations.c
@@ -3858,7 +3858,6 @@ copy_move_file (CopyMoveJob *copy_job,
* detect and report it at this level) */
if (test_dir_is_parent (dest_dir, src)) {
if (job->skip_all_error) {
- g_error_free (error);
goto out;
}
@@ -3892,7 +3891,6 @@ copy_move_file (CopyMoveJob *copy_job,
*/
if (test_dir_is_parent (src, dest)) {
if (job->skip_all_error) {
- g_error_free (error);
goto out;
}
@@ -4532,7 +4530,6 @@ move_file_prepare (CopyMoveJob *move_job,
* detect and report it at this level) */
if (test_dir_is_parent (dest_dir, src)) {
if (job->skip_all_error) {
- g_error_free (error);
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]