projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9613fe1
)
Revert "dtls: fix generated cert dtls agent leak"
author
Tim-Philipp Müller
<tim@centricular.com>
Mon, 12 Aug 2019 07:10:42 +0000
(08:10 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Mon, 12 Aug 2019 07:10:42 +0000
(08:10 +0100)
This reverts commit
6c8831bd1e6e6641534b4b129100661dd8f472b0
from !588
This fix was wrong and also reverted in master.`
ext/dtls/gstdtlsdec.c
patch
|
blob
|
history
diff --git
a/ext/dtls/gstdtlsdec.c
b/ext/dtls/gstdtlsdec.c
index 09183738f273ad444d76b8a23eb25e79fd350408..e41914ee5e30dfc95da3363c21f920547949d98c 100644
(file)
--- a/
ext/dtls/gstdtlsdec.c
+++ b/
ext/dtls/gstdtlsdec.c
@@
-600,10
+600,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);