[file-roller/wip/jtojnar/clang-analysis: 8/8] fixup! application: Fix possible null pointer dereference
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller/wip/jtojnar/clang-analysis: 8/8] fixup! application: Fix possible null pointer dereference
- Date: Tue, 6 Sep 2022 23:42:02 +0000 (UTC)
commit 5c17595ee2a9a510f20385ec3cf49423920be708
Author: Jan Tojnar <jtojnar gmail com>
Date: Tue Sep 6 02:56:19 2022 +0200
fixup! application: Fix possible null pointer dereference
src/fr-application.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/fr-application.c b/src/fr-application.c
index d448e0cb..33227d0b 100644
--- a/src/fr-application.c
+++ b/src/fr-application.c
@@ -262,7 +262,7 @@ handle_method_call (GDBusConnection *connection,
gboolean use_progress_dialog;
int i;
GList *file_list = NULL;
- GFile *destination;
+ GFile *destination = NULL;
GtkWidget *window;
g_variant_get (parameters, "(^assb)", &files, &destination_uri, &use_progress_dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]