Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc-2-2
Commits
b5e4616e
Commit
b5e4616e
authored
Jun 07, 2011
by
Mirsal Ennaime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbus: Fix memleak and remove warnings
parent
1d43feaa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
modules/control/dbus/dbus.c
modules/control/dbus/dbus.c
+2
-0
modules/control/dbus/dbus_tracklist.c
modules/control/dbus/dbus_tracklist.c
+1
-1
No files found.
modules/control/dbus/dbus.c
View file @
b5e4616e
...
@@ -1259,6 +1259,8 @@ int GetInputMeta( input_item_t* p_input,
...
@@ -1259,6 +1259,8 @@ int GetInputMeta( input_item_t* p_input,
ADD_VLC_META_STRING
(
24
,
Setting
);
ADD_VLC_META_STRING
(
24
,
Setting
);
ADD_VLC_META_STRING
(
25
,
URL
);
ADD_VLC_META_STRING
(
25
,
URL
);
free
(
psz_trackid
);
vlc_mutex_lock
(
&
p_input
->
lock
);
vlc_mutex_lock
(
&
p_input
->
lock
);
if
(
p_input
->
p_meta
)
if
(
p_input
->
p_meta
)
{
{
...
...
modules/control/dbus/dbus_tracklist.c
View file @
b5e4616e
...
@@ -364,7 +364,7 @@ PropertiesChangedSignal( intf_thread_t *p_intf,
...
@@ -364,7 +364,7 @@ PropertiesChangedSignal( intf_thread_t *p_intf,
vlc_dictionary_t
*
p_changed_properties
)
vlc_dictionary_t
*
p_changed_properties
)
{
{
DBusConnection
*
p_conn
=
p_intf
->
p_sys
->
p_conn
;
DBusConnection
*
p_conn
=
p_intf
->
p_sys
->
p_conn
;
DBusMessageIter
changed_properties
,
invalidated_properties
,
entry
,
variant
;
DBusMessageIter
changed_properties
,
invalidated_properties
;
const
char
*
psz_interface_name
=
DBUS_MPRIS_TRACKLIST_INTERFACE
;
const
char
*
psz_interface_name
=
DBUS_MPRIS_TRACKLIST_INTERFACE
;
char
**
ppsz_properties
=
NULL
;
char
**
ppsz_properties
=
NULL
;
int
i_properties
=
0
;
int
i_properties
=
0
;
...
...
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