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
56180db3
Commit
56180db3
authored
Feb 06, 2013
by
Mirsal Ennaime
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbus: Add memory allocation failure check
parent
21e2557b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
modules/control/dbus/dbus_root.c
modules/control/dbus/dbus_root.c
+6
-0
No files found.
modules/control/dbus/dbus_root.c
View file @
56180db3
...
...
@@ -481,6 +481,12 @@ PropertiesChangedSignal( intf_thread_t *p_intf,
i_properties
=
vlc_dictionary_keys_count
(
p_changed_properties
);
ppsz_properties
=
vlc_dictionary_all_keys
(
p_changed_properties
);
if
(
unlikely
(
!
ppsz_properties
)
)
{
dbus_message_iter_abandon_container
(
&
args
,
&
invalidated_properties
);
return
DBUS_HANDLER_RESULT_NEED_MEMORY
;
}
for
(
int
i
=
0
;
i
<
i_properties
;
i
++
)
{
PROPERTY_MAPPING_BEGIN
...
...
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