diff options
-rw-r--r-- | src/nm-connectivity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nm-connectivity.c b/src/nm-connectivity.c index 7f99f92f93..e049de42d8 100644 --- a/src/nm-connectivity.c +++ b/src/nm-connectivity.c @@ -393,8 +393,8 @@ dispose (GObject *object) NMConnectivity *self = NM_CONNECTIVITY (object); NMConnectivityPrivate *priv = NM_CONNECTIVITY_GET_PRIVATE (self); - g_free (priv->uri); - g_free (priv->response); + g_clear_pointer (&priv->uri, g_free); + g_clear_pointer (&priv->response, g_free); #if WITH_CONCHECK if (priv->soup_session) { |