Skip to content

Commit

Permalink
Merge pull request #78 from RidgeRun/hotfix/interpipesrc-memory-leak-…
Browse files Browse the repository at this point in the history
…in-set-listen-to

Add fix for memory leak in set of listen-to property
  • Loading branch information
jafet-chaves authored Mar 29, 2021
2 parents 89001fd + b3e7e80 commit 308e04b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
4 changes: 4 additions & 0 deletions gst/interpipe/gstinterpipesrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
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('gst-interpipes', 'c',
version : '1.1.3',
version : '1.1.4',
meson_version : '>= 0.50',)

gst_interpipes_version = meson.project_version()
Expand Down

0 comments on commit 308e04b

Please sign in to comment.