From: Tim-Philipp Müller Date: Fri, 3 Dec 2021 13:24:25 +0000 (+0000) Subject: teletextdec: fix minor string leak X-Git-Tag: 1.20.0~210 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=26169cee0ea9e68d283ad4e405a0b56a9c53b80c;p=platform%2Fupstream%2Fgstreamer.git teletextdec: fix minor string leak Part-of: --- diff --git a/subprojects/gst-plugins-bad/ext/teletextdec/gstteletextdec.c b/subprojects/gst-plugins-bad/ext/teletextdec/gstteletextdec.c index 5b4abfd..38d6f69 100644 --- a/subprojects/gst-plugins-bad/ext/teletextdec/gstteletextdec.c +++ b/subprojects/gst-plugins-bad/ext/teletextdec/gstteletextdec.c @@ -215,8 +215,7 @@ gst_teletextdec_class_init (GstTeletextDecClass * klass) g_object_class_install_property (gobject_class, PROP_SUBS_TEMPLATE, g_param_spec_string ("subtitles-template", "Subtitles output template", "Output template used to print each one of the subtitles lines", - g_strescape ("%s\n", NULL), - G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + "%s\\n", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_FONT_DESCRIPTION, g_param_spec_string ("font-description", "Pango font description",