Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
5fb9f95e
Commit
5fb9f95e
authored
Feb 20, 2008
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc.c: fix invalid destroy of unitialized timer_lock mutex when VLC_Init() fails
parent
006625e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/libvlc-common.c
src/libvlc-common.c
+1
-1
No files found.
src/libvlc-common.c
View file @
5fb9f95e
...
...
@@ -216,6 +216,7 @@ libvlc_int_t * libvlc_InternalCreate( void )
msg_Dbg
(
p_libvlc
,
"libvlc was configured with %s"
,
CONFIGURE_LINE
);
/* Initialize mutexes */
vlc_mutex_init
(
p_libvlc
,
&
p_libvlc
->
timer_lock
);
vlc_mutex_init
(
p_libvlc
,
&
p_libvlc
->
config_lock
);
#ifdef __APPLE__
vlc_mutex_init
(
p_libvlc
,
&
p_libvlc
->
quicktime_lock
);
...
...
@@ -724,7 +725,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
p_libvlc
->
b_stats
=
config_GetInt
(
p_libvlc
,
"stats"
)
>
0
;
p_libvlc
->
i_timers
=
0
;
p_libvlc
->
pp_timers
=
NULL
;
vlc_mutex_init
(
p_libvlc
,
&
p_libvlc
->
timer_lock
);
/*
* Initialize hotkey handling
...
...
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