summaryrefslogtreecommitdiffstats
path: root/contrib/hyperv/tools/hv_kvp_daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/hyperv/tools/hv_kvp_daemon.c')
-rw-r--r--contrib/hyperv/tools/hv_kvp_daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hyperv/tools/hv_kvp_daemon.c b/contrib/hyperv/tools/hv_kvp_daemon.c
index 1c31d3f..50ae3ed 100644
--- a/contrib/hyperv/tools/hv_kvp_daemon.c
+++ b/contrib/hyperv/tools/hv_kvp_daemon.c
@@ -811,7 +811,7 @@ kvp_get_ip_info(int family, char *if_name, int op,
int error = 0;
char *buffer;
size_t buffer_length;
- struct hv_kvp_ipaddr_value *ip_buffer;
+ struct hv_kvp_ipaddr_value *ip_buffer = NULL;
char cidr_mask[5];
int weight;
int i;
OpenPOWER on IntegriCloud