projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81b8e1a
)
rtp: fix mem leak
49/134349/1
author
Eunhae Choi
<eunhae1.choi@samsung.com>
Fri, 16 Jun 2017 05:50:40 +0000
(14:50 +0900)
committer
Eunhae Choi
<eunhae1.choi@samsung.com>
Fri, 16 Jun 2017 05:50:40 +0000
(14:50 +0900)
Change-Id: I26e98cdfac70d0adde686bf399620d82d9106269
gst/rtp/gstrtpsbcdepay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpsbcdepay.c
b/gst/rtp/gstrtpsbcdepay.c
index 4863fc8247686393f5d456f6b48bac641c051469..fa290e107770684c185bad22dd1a6ba03e1bcbc9 100644
(file)
--- a/
gst/rtp/gstrtpsbcdepay.c
+++ b/
gst/rtp/gstrtpsbcdepay.c
@@
-181,6
+181,8
@@
gst_rtp_sbc_depay_setcaps (GstRTPBaseDepayload * base, GstCaps * caps)
}
gst_caps_unref (outcaps);
+ if (oldcaps)
+ gst_caps_unref (oldcaps);
return TRUE;