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/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 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; 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',