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:
c5130b1
)
ivtc: Fix value memory leak
author
Vineeth TM
<vineeth.tm@samsung.com>
Wed, 16 Dec 2015 05:32:20 +0000
(14:32 +0900)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 16 Dec 2015 08:59:39 +0000
(09:59 +0100)
gvalue variable should be unset instead of reset.
https://bugzilla.gnome.org/show_bug.cgi?id=759525
gst/ivtc/gstivtc.c
patch
|
blob
|
history
diff --git
a/gst/ivtc/gstivtc.c
b/gst/ivtc/gstivtc.c
index
30636e8
..
6dd0c8d
100644
(file)
--- a/
gst/ivtc/gstivtc.c
+++ b/
gst/ivtc/gstivtc.c
@@
-169,8
+169,8
@@
gst_ivtc_transform_caps (GstBaseTransform * trans,
gst_structure_set_value (structure, "interlace-mode", &value);
gst_structure_remove_field (structure, "framerate");
}
- g_value_
re
set (&value);
- g_value_
re
set (&v);
+ g_value_
un
set (&value);
+ g_value_
un
set (&v);
} else {
for (i = 0; i < gst_caps_get_size (othercaps); i++) {
GstStructure *structure = gst_caps_get_structure (othercaps, i);