diff options
Diffstat (limited to 'ext/dtls/gstdtlsdec.c')
-rw-r--r-- | ext/dtls/gstdtlsdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dtls/gstdtlsdec.c b/ext/dtls/gstdtlsdec.c index c93a08d4c..6360e2426 100644 --- a/ext/dtls/gstdtlsdec.c +++ b/ext/dtls/gstdtlsdec.c @@ -601,10 +601,10 @@ get_agent_by_pem (const gchar * pem) } else { GST_DEBUG_OBJECT (generated_cert_agent, "using agent with generated cert"); - g_object_ref (generated_cert_agent); } agent = generated_cert_agent; + g_object_ref (agent); } else { G_LOCK (agent_table); |