dtlsagent: Clear the certificate upon finalize

Cleaning this up was likely just forgotten
This commit is contained in:
Juan Navarro 2019-06-25 20:37:57 +02:00
parent 8317112883
commit d289608a99

View file

@ -214,6 +214,8 @@ gst_dtls_agent_finalize (GObject * gobject)
SSL_CTX_free (priv->ssl_context);
priv->ssl_context = NULL;
g_clear_object (&priv->certificate);
GST_DEBUG_OBJECT (gobject, "finalized");
G_OBJECT_CLASS (gst_dtls_agent_parent_class)->finalize (gobject);