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:
1e1375c
)
Fix potential memory leak
author
Younghwan
<younghwan_.an@samsung.com>
Wed, 10 May 2017 09:25:20 +0000
(18:25 +0900)
committer
Younghwan
<younghwan_.an@samsung.com>
Wed, 10 May 2017 10:38:50 +0000
(19:38 +0900)
Change-Id: I46f4595f6a34f8f802b117b8d8c9259a1de1653e
gst/playback/gstsubtitleoverlay.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstsubtitleoverlay.c
b/gst/playback/gstsubtitleoverlay.c
index
719eebb
..
142ae73
100644
(file)
--- a/
gst/playback/gstsubtitleoverlay.c
+++ b/
gst/playback/gstsubtitleoverlay.c
@@
-912,6
+912,8
@@
_link_renderer (GstSubtitleOverlay * self, GstElement * renderer,
sink = _get_video_pad (renderer);
if (G_UNLIKELY (!sink)) {
+ if (video_caps)
+ gst_caps_unref (video_caps);
GST_WARNING_OBJECT (self, "Can't get video sink from renderer");
return FALSE;
}