mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
asfmux: use g_error_free instead of g_free
This commit is contained in:
parent
d63365fc5b
commit
f9dfd1effb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue