From 6292851248845ef0b300b0b7f017b7742413277b Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 28 Feb 2018 06:40:01 +0100 Subject: [PATCH] dhcp: fix uninitialized pointer in DHCP listener's _method_call_handle() Fixes: f67269b49d22278e0a70dad1fb52c5b015c12cf6 --- src/dhcp/nm-dhcp-listener.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcp/nm-dhcp-listener.c b/src/dhcp/nm-dhcp-listener.c index 956c281652..5dc3d005af 100644 --- a/src/dhcp/nm-dhcp-listener.c +++ b/src/dhcp/nm-dhcp-listener.c @@ -145,7 +145,7 @@ _method_call_handle (NMDhcpListener *self, gs_free char *iface = NULL; gs_free char *pid_str = NULL; gs_free char *reason = NULL; - gs_unref_variant GVariant *options; + gs_unref_variant GVariant *options = NULL; int pid; gboolean handled = FALSE;