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:
bda406c
)
caps: fix caps feature leak
author
Tim-Philipp Müller
<tim@centricular.net>
Thu, 4 Apr 2013 22:12:52 +0000
(23:12 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Thu, 4 Apr 2013 22:14:13 +0000
(23:14 +0100)
Fixes leaks in 14 core unit tests including
gst/gstcaps.
gst/gstcaps.c
patch
|
blob
|
history
diff --git
a/gst/gstcaps.c
b/gst/gstcaps.c
index
20f51fa
..
708575d
100644
(file)
--- a/
gst/gstcaps.c
+++ b/
gst/gstcaps.c
@@
-838,7
+838,7
@@
gst_caps_get_features (const GstCaps * caps, guint index)
features = gst_caps_get_features_unchecked (caps, index);
if (!features)
- features =
gst_caps_features_copy (GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY)
;
+ features =
GST_CAPS_FEATURES_MEMORY_SYSTEM_MEMORY
;
return features;
}