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
b462123a
Commit
b462123a
authored
Aug 10, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix resource deadlock in OSDmenu code.
parent
953122c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
modules/video_filter/osdmenu.c
modules/video_filter/osdmenu.c
+0
-2
src/osd/osd.c
src/osd/osd.c
+1
-2
No files found.
modules/video_filter/osdmenu.c
View file @
b462123a
...
...
@@ -270,8 +270,6 @@ static int CreateFilter ( vlc_object_t *p_this )
error:
msg_Err
(
p_filter
,
"osdmenu filter discarded"
);
osd_MenuDelete
(
p_this
,
p_sys
->
p_menu
);
p_sys
->
p_menu
=
NULL
;
free
(
p_sys
->
psz_path
);
free
(
p_sys
->
psz_file
);
free
(
p_sys
);
...
...
src/osd/osd.c
View file @
b462123a
...
...
@@ -68,7 +68,6 @@ static bool osd_ParserLoad( osd_menu_t *p_menu, const char *psz_file )
if
(
!
p_menu
->
p_image
||
!
p_menu
->
psz_file
)
{
msg_Err
(
p_menu
,
"unable to load images, aborting .."
);
osd_ParserUnload
(
p_menu
);
return
true
;
}
else
...
...
@@ -85,7 +84,6 @@ static bool osd_ParserLoad( osd_menu_t *p_menu, const char *psz_file )
psz_type
,
true
);
if
(
!
p_menu
->
p_parser
)
{
osd_ParserUnload
(
p_menu
);
return
false
;
}
}
...
...
@@ -200,6 +198,7 @@ osd_menu_t *__osd_MenuCreate( vlc_object_t *p_this, const char *psz_file )
return
p_osd
;
error:
vlc_mutex_unlock
(
lockval
.
p_address
);
__osd_MenuDelete
(
p_this
,
p_osd
);
return
NULL
;
}
...
...
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