diff --git a/src/parse.c b/src/parse.c index d61405c80..692b9bc9d 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1925,7 +1925,7 @@ handle_vxlan_tristate(NetplanParser* npp, yaml_node_t* node, const void* data, G STATIC int get_ip_family(const char* address) { - g_autofree char *ip_str; + g_autofree char *ip_str = NULL; char *prefix_len; ip_str = g_strdup(address);