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:
d63365f
)
asfmux: use g_error_free instead of g_free
author
Stefan Kost
<ensonic@users.sf.net>
Wed, 12 Jan 2011 14:55:07 +0000
(16:55 +0200)
committer
Stefan Kost
<ensonic@users.sf.net>
Wed, 12 Jan 2011 14:56:28 +0000
(16:56 +0200)
gst/asfmux/gstasfmux.c
patch
|
blob
|
history
diff --git
a/gst/asfmux/gstasfmux.c
b/gst/asfmux/gstasfmux.c
index 3c8921f4c7bc97aeddc74b83e5634195493b9fcd..2e85e1ae2e2963aba92a5384f0d6467e0332da3a 100644
(file)
--- a/
gst/asfmux/gstasfmux.c
+++ b/
gst/asfmux/gstasfmux.c
@@
-919,7
+919,7
@@
gst_asf_mux_write_string_with_size (GstAsfMux * asfmux,
if (error) {
GST_WARNING_OBJECT (asfmux, "Error converting string "
"to UTF-16: %s - %s", str, error->message);
- g_free (error);
+ g_
error_
free (error);
memset (str_buf, 0, str_size);
} else {
/* HACK: g_convert seems to add only a single byte null char to