diff --git a/src/parse.c b/src/parse.c index 6500c7a9c..6cc8c5701 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1909,7 +1909,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);