mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
dtlsagent: Clear the certificate upon finalize
Cleaning this up was likely just forgotten
This commit is contained in:
parent
8317112883
commit
d289608a99
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue