From a497abe38a513a9d34eecc1874bf373ffd959a99 Mon Sep 17 00:00:00 2001 From: Jafet Chaves Date: Fri, 12 Mar 2021 14:45:40 -0600 Subject: [PATCH 1/2] Add fix for memory leak in set of listen-to property --- gst/interpipe/gstinterpipesrc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/interpipe/gstinterpipesrc.c b/gst/interpipe/gstinterpipesrc.c index fd4c587..4d16267 100644 --- a/gst/interpipe/gstinterpipesrc.c +++ b/gst/interpipe/gstinterpipesrc.c @@ -265,7 +265,11 @@ gst_inter_pipe_src_set_property (GObject * object, guint prop_id, /* valid node_name, BaseSrc started */ if (!gst_inter_pipe_src_listen_node (src, node_name)) { GST_ERROR_OBJECT (src, "Could not listen to node %s", node_name); + g_free (node_name); } else { + if (src->listen_to) { + g_free (src->listen_to); + } src->listen_to = node_name; } src->listening = TRUE; From b3e7e807a95a17eda744ea9a596934fc172326c1 Mon Sep 17 00:00:00 2001 From: Jafet Chaves Date: Mon, 29 Mar 2021 10:47:51 -0600 Subject: [PATCH 2/2] Bump project version --- configure.ac | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 1f750a4..edea91f 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ dnl please read gstreamer/docs/random/autotools before changing this file dnl initialize autoconf dnl releases only do -Wall, git and prerelease does -Werror too dnl use a three digit version number for releases, and four for git/pre -AC_INIT([GstInterpipe],[1.1.3], +AC_INIT([GstInterpipe],[1.1.4], [http://www.github.com/RidgeRun/gst-interpipe-1.0], [gst-interpipe], [http://developer.ridgerun.com/wiki/index.php?title=GstInterpipe]) diff --git a/meson.build b/meson.build index 78bbd81..6acf61d 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('gst-interpipes', 'c', - version : '1.1.3', + version : '1.1.4', meson_version : '>= 0.50',) gst_interpipes_version = meson.project_version()