Skip to content

Commit

Permalink
Merge branch 'hotfix/fix-memory-leak-in-list-pipelines'
Browse files Browse the repository at this point in the history
  • Loading branch information
jsalas98 committed Oct 4, 2024
2 parents 7889d82 + 9aef750 commit dac03d5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
gstd (0.15.2-1) unstable; urgency=medium

* Fix leak in gstc_pipeline_list function

-- RidgeRun Engineering <[email protected]> Fri, 04 Oct 2024 15:43:12 -0600

gstd (0.15.1-1) unstable; urgency=medium

* Add includes to the declaration of the dependency
Expand Down
2 changes: 2 additions & 0 deletions libgstc/c/libgstc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('gstd', 'c',
version : '0.15.1',
version : '0.15.2',
meson_version : '>= 0.50',
default_options : [
'c_std=c11',
Expand Down

0 comments on commit dac03d5

Please sign in to comment.