From 26169cee0ea9e68d283ad4e405a0b56a9c53b80c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 3 Dec 2021 13:24:25 +0000 Subject: [PATCH] teletextdec: fix minor string leak Part-of: --- subprojects/gst-plugins-bad/ext/teletextdec/gstteletextdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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", -- 2.7.4