Skip to content

Commit

Permalink
Merge branch 'hotfix/free-memory-in-interpipesrc-finalize'
Browse files Browse the repository at this point in the history
  • Loading branch information
Solzc committed Oct 27, 2021
2 parents 6daf224 + d332b5d commit cd83b0a
Show file tree
Hide file tree
Showing 3 changed files with 7 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.6],
AC_INIT([GstInterpipe],[1.1.7],
[http://www.github.com/RidgeRun/gst-interpipe-1.0],
[gst-interpipe],
[http://developer.ridgerun.com/wiki/index.php?title=GstInterpipe])
Expand Down
5 changes: 5 additions & 0 deletions gst/interpipe/gstinterpipesrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,11 @@ gst_inter_pipe_src_finalize (GObject * object)
g_queue_free_full (src->pending_serial_events,
(GDestroyNotify) gst_event_unref);

if (src->listen_to) {
g_free (src->listen_to);
src->listen_to = NULL;
}

/* Chain up to the parent class */
G_OBJECT_CLASS (gst_inter_pipe_src_parent_class)->finalize (object);
}
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.6',
version : '1.1.7',
meson_version : '>= 0.50',)

gst_interpipes_version = meson.project_version()
Expand Down

0 comments on commit cd83b0a

Please sign in to comment.