From f520f62609fa0a557e68c5cbeaaa04a25a21d140 Mon Sep 17 00:00:00 2001
From: Andreas Mohr <and@gmx.li>
Date: Thu, 17 Feb 2022 18:16:32 +0000
Subject: [PATCH] (fileguid.c) fix coverity finding #331828 #331850
Found by Coverity.
Coverity id #331828
Coverity id #331850
Signed-off-by: Andreas Mohr <and@gmx.li>
---
src/filemanager/filegui.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/filemanager/filegui.c b/src/filemanager/filegui.c
index c74177d59..9c91889f2 100644
a
|
b
|
file_mask_dialog (file_op_context_t * ctx, FileOperation operation, gboolean onl |
1411 | 1411 | message (D_ERROR, MSG_ERROR, _("Invalid source pattern '%s'"), source_mask); |
1412 | 1412 | g_free (dest_dir); |
1413 | 1413 | g_free (source_mask); |
| 1414 | dest_dir = NULL; |
| 1415 | source_mask = NULL; |
1414 | 1416 | goto ask_file_mask; |
1415 | 1417 | } |
1416 | 1418 | |