diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2012-10-20 11:38:10 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-10-20 12:13:03 +0100 |
commit | 563640c23de50107aeea08b22b11294286d1eb78 (patch) | |
tree | 3cd3721e8afd9febc1e0830b2f25d2d7c5c7ac5b | |
parent | 889d86e512a459d5cacb121b1ae4e6b2a179c9e5 (diff) | |
download | gstreamer-plugins-base-563640c23de50107aeea08b22b11294286d1eb78.tar.gz |
audiodecoder: don't leak message strings when error is not fatal
https://bugzilla.gnome.org/show_bug.cgi?id=681192
-rw-r--r-- | gst-libs/gst/audio/gstaudiodecoder.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c index 4d8009921..77cd19a26 100644 --- a/gst-libs/gst/audio/gstaudiodecoder.c +++ b/gst-libs/gst/audio/gstaudiodecoder.c @@ -2159,6 +2159,8 @@ _gst_audio_decoder_error (GstAudioDecoder * dec, gint weight, domain, code, txt, dbg, file, function, line); return GST_FLOW_ERROR; } else { + g_free (txt); + g_free (dbg); return GST_FLOW_OK; } } |