Commit ade14408 authored by Beniamino Galvani's avatar Beniamino Galvani

policy: fix memory leak

parent 834dfd72
......@@ -2588,7 +2588,7 @@ static void
nm_policy_init (NMPolicy *self)
NMPolicyPrivate *priv = NM_POLICY_GET_PRIVATE (self);
const char *hostname_mode;
gs_free char *hostname_mode = NULL;
c_list_init (&priv->pending_activation_checks);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment