gfile: Fix memory leak in g_file_move()

https://bugzilla.gnome.org/show_bug.cgi?id=729703
This commit is contained in:
David King 2014-05-07 10:25:40 +01:00
parent e15ba53cda
commit 03b510fde1

View File

@ -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);
}
}