Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-good
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
e686ec0c
Commit
e686ec0c
authored
Nov 05, 2015
by
Nirbheek Chauhan
Committed by
Tim-Philipp Müller
Nov 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pulse: Don't leak caps and structures in the device provider
parent
7e22ea5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ext/pulse/pulsedeviceprovider.c
ext/pulse/pulsedeviceprovider.c
+4
-0
No files found.
ext/pulse/pulsedeviceprovider.c
View file @
e686ec0c
...
...
@@ -607,6 +607,7 @@ gst_pulse_device_reconfigure_element (GstDevice * device, GstElement * element)
return
TRUE
;
}
/* Takes ownership of @caps and @props */
static
GstDevice
*
gst_pulse_device_new
(
guint
device_index
,
const
gchar
*
device_name
,
GstCaps
*
caps
,
const
gchar
*
internal_name
,
GstPulseDeviceType
type
,
...
...
@@ -644,6 +645,9 @@ gst_pulse_device_new (guint device_index, const gchar * device_name,
gstdev
->
device_index
=
device_index
;
gstdev
->
element
=
element
;
gst_structure_free
(
props
);
gst_caps_unref
(
caps
);
return
GST_DEVICE
(
gstdev
);
}
...
...
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