projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae62003
)
theoraenc: Fix a string leak in _getcaps()
author
Jan Schmidt
<thaytan@noraisin.net>
Sat, 12 Sep 2009 01:23:07 +0000
(
02:23
+0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Sat, 12 Sep 2009 01:24:49 +0000
(
02:24
+0100)
ext/theora/theoraenc.c
patch
|
blob
|
history
diff --git
a/ext/theora/theoraenc.c
b/ext/theora/theoraenc.c
index dc1865ca207948d49a3dd0427aa7da1862beb3e8..8f19986ca540af594f05b648d35809260261999b 100644
(file)
--- a/
ext/theora/theoraenc.c
+++ b/
ext/theora/theoraenc.c
@@
-441,6
+441,7
@@
theora_enc_sink_getcaps (GstPad * pad)
supported_formats);
caps = gst_caps_from_string (caps_string);
g_free (caps_string);
+ g_free (supported_formats);
GST_DEBUG ("Supported caps: %" GST_PTR_FORMAT, caps);
return caps;