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
e002f487
Commit
e002f487
authored
Mar 31, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: Destroy libvlc's vlm instance before the stats destruction to avoid input crashes.
parent
4c905528
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/libvlc-common.c
src/libvlc-common.c
+6
-6
No files found.
src/libvlc-common.c
View file @
e002f487
...
@@ -970,6 +970,12 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
...
@@ -970,6 +970,12 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
aout_Delete
(
p_aout
);
aout_Delete
(
p_aout
);
}
}
/* Destroy VLM if created in libvlc_InternalInit */
if
(
p_libvlc
->
p_vlm
)
{
vlm_Delete
(
p_libvlc
->
p_vlm
);
}
/* Free interaction */
/* Free interaction */
msg_Dbg
(
p_libvlc
,
"removing interaction"
);
msg_Dbg
(
p_libvlc
,
"removing interaction"
);
vlc_object_release
(
p_libvlc
->
p_interaction
);
vlc_object_release
(
p_libvlc
->
p_interaction
);
...
@@ -998,12 +1004,6 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
...
@@ -998,12 +1004,6 @@ int libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
vlc_mutex_destroy
(
&
p_libvlc
->
p_stats
->
lock
);
vlc_mutex_destroy
(
&
p_libvlc
->
p_stats
->
lock
);
FREENULL
(
p_libvlc
->
p_stats
);
FREENULL
(
p_libvlc
->
p_stats
);
/* Destroy VLM if created in libvlc_InternalInit */
if
(
p_libvlc
->
p_vlm
)
{
vlm_Delete
(
p_libvlc
->
p_vlm
);
}
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
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