[gnome-commander] Reset tmpError pointer with null
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Reset tmpError pointer with null
- Date: Wed, 15 Sep 2021 21:41:02 +0000 (UTC)
commit 9781bd308d1a1078b935f91bc0c9406da8a7add3
Author: Uwe Scholz <u scholz83 gmx de>
Date: Wed Sep 15 23:29:42 2021 +0200
Reset tmpError pointer with null
src/gnome-cmd-xfer.cc | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/gnome-cmd-xfer.cc b/src/gnome-cmd-xfer.cc
index c4840a4e..d1420e4d 100644
--- a/src/gnome-cmd-xfer.cc
+++ b/src/gnome-cmd-xfer.cc
@@ -1141,6 +1141,7 @@ gnome_cmd_move_gfile_recursive (GFile *srcGFile,
if(g_error_matches(tmpError, G_IO_ERROR, G_IO_ERROR_EXISTS))
{
g_propagate_error(&(xferData->error), tmpError);
+ tmpError = nullptr;
xferData->problemSrcGFile = g_file_dup(srcGFile);
xferData->problemDestGFile = g_file_dup(destGFile);
xfer_progress_update(xferData);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]