From fda5d6e9cb83a59d33d136cb3b396bd12c1b7a94 Mon Sep 17 00:00:00 2001 From: Jimena Salas Date: Fri, 4 Oct 2024 14:44:23 -0600 Subject: [PATCH 1/3] Fix leak in gstc_pipeline_list --- libgstc/c/libgstc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libgstc/c/libgstc.c b/libgstc/c/libgstc.c index 75c1ae3c..a0308aea 100644 --- a/libgstc/c/libgstc.c +++ b/libgstc/c/libgstc.c @@ -1083,6 +1083,8 @@ gstc_pipeline_list (GstClient * client, char **pipelines[], int *list_lenght) ret = gstc_json_get_child_char_array (response, "response", "nodes", "name", pipelines, list_lenght); + free (response); + out: return ret; From df87f024553acbc69b169adc3231eea0f9b45320 Mon Sep 17 00:00:00 2001 From: Jimena Salas Date: Fri, 4 Oct 2024 15:09:17 -0600 Subject: [PATCH 2/3] Bump version to 0.15.2 --- configure.ac | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ef171801..7152a175 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl required version of autoconf AC_PREREQ([2.53]) dnl Gstreamer's daemon package name and version -AC_INIT([gstd],[0.15.1]) +AC_INIT([gstd],[0.15.2]) dnl required version of gstreamer and gst-plugins-base GST_REQUIRED=1.0.0 diff --git a/meson.build b/meson.build index 43addf9a..5343fbfc 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('gstd', 'c', - version : '0.15.1', + version : '0.15.2', meson_version : '>= 0.50', default_options : [ 'c_std=c11', From 9aef7503b65fac59fc64e0c63b47c103db178667 Mon Sep 17 00:00:00 2001 From: Jimena Salas Date: Fri, 4 Oct 2024 15:45:40 -0600 Subject: [PATCH 3/3] Add changelog for Debian --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 613d502e..74ae2ffb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +gstd (0.15.2-1) unstable; urgency=medium + + * Fix leak in gstc_pipeline_list function + + -- RidgeRun Engineering Fri, 04 Oct 2024 15:43:12 -0600 + gstd (0.15.1-1) unstable; urgency=medium * Add includes to the declaration of the dependency