diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-19 11:08:03 +0200 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-08-19 11:15:40 +0200 |
commit | 1080b9a5fea51394f2c75d94c6c49cbf0987168d (patch) | |
tree | ade79397294876e7b9dae87c00ab2dadb29fd054 /src/tls-certificate.c | |
parent | d478168bb7224112281edf848b6ab234928866d4 (diff) |
Use tp_clear_pointer()
Diffstat (limited to 'src/tls-certificate.c')
-rw-r--r-- | src/tls-certificate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tls-certificate.c b/src/tls-certificate.c index 734b74e43..888e36bf0 100644 --- a/src/tls-certificate.c +++ b/src/tls-certificate.c @@ -145,9 +145,7 @@ gabble_tls_certificate_finalize (GObject *object) GabbleTLSCertificate *self = GABBLE_TLS_CERTIFICATE (object); g_free (self->priv->reject_error); - - if (self->priv->reject_details != NULL) - g_hash_table_unref (self->priv->reject_details); + tp_clear_pointer (&self->priv->reject_details, g_hash_table_unref); g_free (self->priv->object_path); g_free (self->priv->cert_type); |