ext/vorbis/vorbisenc.c: Don't leak tag names.
Original commit message from CVS: * ext/vorbis/vorbisenc.c: (gst_vorbisenc_metadata_set1): Don't leak tag names.
This commit is contained in:
parent
7b43847c2c
commit
409b9b220d
@ -1,3 +1,8 @@
|
|||||||
|
2006-02-05 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
|
* ext/vorbis/vorbisenc.c: (gst_vorbisenc_metadata_set1):
|
||||||
|
Don't leak tag names.
|
||||||
|
|
||||||
2006-02-05 Tim-Philipp Müller <tim at centricular dot net>
|
2006-02-05 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* docs/libs/gst-plugins-base-libs-docs.sgml:
|
* docs/libs/gst-plugins-base-libs-docs.sgml:
|
||||||
|
@ -609,7 +609,10 @@ gst_vorbisenc_metadata_set1 (const GstTagList * list, const gchar * tag,
|
|||||||
vorbisvalue = gst_vorbisenc_get_tag_value (list, tag, i);
|
vorbisvalue = gst_vorbisenc_get_tag_value (list, tag, i);
|
||||||
|
|
||||||
if (vorbisvalue != NULL) {
|
if (vorbisvalue != NULL) {
|
||||||
vorbis_comment_add_tag (&enc->vc, g_strdup (vorbistag), vorbisvalue);
|
gchar *tmptag = g_strdup (vorbistag);
|
||||||
|
|
||||||
|
vorbis_comment_add_tag (&enc->vc, tmptag, vorbisvalue);
|
||||||
|
g_free (tmptag);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user