projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c5e5f8
)
webrtcbin: Fix memory leak
author
Edward Hervey
<edward@centricular.com>
Thu, 21 Nov 2019 15:24:38 +0000
(16:24 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 21 Nov 2019 15:25:21 +0000
(16:25 +0100)
The structure is not used after this block
CID: 1455481
ext/webrtc/gstwebrtcbin.c
patch
|
blob
|
history
diff --git
a/ext/webrtc/gstwebrtcbin.c
b/ext/webrtc/gstwebrtcbin.c
index
c7928f6
..
eca3a7c
100644
(file)
--- a/
ext/webrtc/gstwebrtcbin.c
+++ b/
ext/webrtc/gstwebrtcbin.c
@@
-3390,6
+3390,8
@@
_set_rtx_ptmap_from_stream (GstWebRTCBin * webrtc, TransportStream * stream)
g_object_set (stream->rtxreceive, "payload-type-map", pt_map, NULL);
if (stream->rtxsend)
g_object_set (stream->rtxsend, "payload-type-map", pt_map, NULL);
+
+ gst_structure_free (pt_map);
}
}