connectivity: make NMConnectivity:dispose() reentrant

This commit is contained in:
Thomas Haller 2014-07-09 22:22:48 +02:00
parent 6cb5db60de
commit 3dce101f6b

View file

@ -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) {