Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
5f503d74
Commit
5f503d74
authored
Jul 31, 2019
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test-gstreamer: fix buffer leak
parent
ef6293b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tests/test-gstreamer.c
tests/test-gstreamer.c
+4
-0
No files found.
tests/test-gstreamer.c
View file @
5f503d74
...
@@ -77,6 +77,8 @@ sink_chain_list_function (GstPad * pad, GstObject * parent,
...
@@ -77,6 +77,8 @@ sink_chain_list_function (GstPad * pad, GstObject * parent,
g_main_loop_quit
(
loop
);
g_main_loop_quit
(
loop
);
}
}
gst_buffer_list_unref
(
list
);
return
GST_FLOW_OK
;
return
GST_FLOW_OK
;
}
}
...
@@ -93,6 +95,8 @@ sink_chain_function (GstPad * pad, GstObject * parent, GstBuffer * buffer)
...
@@ -93,6 +95,8 @@ sink_chain_function (GstPad * pad, GstObject * parent, GstBuffer * buffer)
g_main_loop_quit
(
loop
);
g_main_loop_quit
(
loop
);
}
}
gst_buffer_unref
(
buffer
);
return
GST_FLOW_OK
;
return
GST_FLOW_OK
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment