Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
5a68b3bf
Commit
5a68b3bf
authored
Aug 17, 2007
by
Pierre d'Herbemont
Browse files
misc/events.c: Don't call an invalid ptr (oops).
parent
91956ad8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/events.c
View file @
5a68b3bf
...
...
@@ -127,7 +127,7 @@ void vlc_event_send( vlc_event_manager_t * p_em,
{
vlc_event_listeners_group_t
*
listeners_group
;
vlc_event_listener_t
*
listener
;
vlc_event_callback_t
func
;
vlc_event_callback_t
func
=
NULL
;
void
*
user_data
;
/* Fill event with the sending object now */
...
...
@@ -146,8 +146,8 @@ void vlc_event_send( vlc_event_manager_t * p_em,
}
FOREACH_END
()
vlc_mutex_unlock
(
&
p_em
->
object_lock
);
func
(
p_event
,
user_data
);
if
(
func
)
func
(
p_event
,
user_data
);
}
/**
...
...
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