mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-04 13:45:52 +00:00
dtlsagent: Clear the certificate upon finalize
Cleaning this up was likely just forgotten
This commit is contained in:
parent
8317112883
commit
d289608a99
|
@ -214,6 +214,8 @@ gst_dtls_agent_finalize (GObject * gobject)
|
||||||
SSL_CTX_free (priv->ssl_context);
|
SSL_CTX_free (priv->ssl_context);
|
||||||
priv->ssl_context = NULL;
|
priv->ssl_context = NULL;
|
||||||
|
|
||||||
|
g_clear_object (&priv->certificate);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (gobject, "finalized");
|
GST_DEBUG_OBJECT (gobject, "finalized");
|
||||||
|
|
||||||
G_OBJECT_CLASS (gst_dtls_agent_parent_class)->finalize (gobject);
|
G_OBJECT_CLASS (gst_dtls_agent_parent_class)->finalize (gobject);
|
||||||
|
|
Loading…
Reference in a new issue