summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-11-27 14:36:12 +0100
committerAlexander Larsson <alexl@redhat.com>2009-11-27 14:54:38 +0100
commit63a1079819293d371c09afd89324e8a9d376fa57 (patch)
treee65fab479deb5869691880f9393806de596ddc65
parent5cea9b09ea46a8ee6a20458150bd1e6556e05089 (diff)
downloadnautilus-63a1079819293d371c09afd89324e8a9d376fa57.tar.gz
Don't free uninitilized errors
test_dir_is_parent doesn't set error, so no need to free it. (cherry picked from commit 72e1296847061336059a089b0367c86f00e5f08f)
-rw-r--r--libnautilus-private/nautilus-file-operations.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libnautilus-private/nautilus-file-operations.c b/libnautilus-private/nautilus-file-operations.c
index ba1020c61..cb356bd06 100644
--- a/libnautilus-private/nautilus-file-operations.c
+++ b/libnautilus-private/nautilus-file-operations.c
@@ -3852,7 +3852,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;
}
@@ -3886,7 +3885,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;
}
@@ -4526,7 +4524,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;
}