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
d12f65f6
Commit
d12f65f6
authored
Oct 01, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "Use after free" (CID 248)
parent
2909c5c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/control/media_discoverer.c
src/control/media_discoverer.c
+2
-2
No files found.
src/control/media_discoverer.c
View file @
d12f65f6
...
...
@@ -178,9 +178,9 @@ libvlc_media_discoverer_new_from_name( libvlc_instance_t * p_inst,
if
(
!
p_mdis
->
p_sd
)
{
free
(
p_mdis
);
libvlc_media_list_release
(
p_mdis
->
p_mlist
);
libvlc_exception_raise
(
p_e
,
"Can't find the services_discovery module named '%s'"
,
psz_name
);
free
(
p_mdis
);
return
NULL
;
}
...
...
@@ -205,9 +205,9 @@ libvlc_media_discoverer_new_from_name( libvlc_instance_t * p_inst,
bool
ret
=
services_discovery_Start
(
p_mdis
->
p_sd
);
if
(
!
ret
)
{
free
(
p_mdis
);
libvlc_media_list_release
(
p_mdis
->
p_mlist
);
libvlc_exception_raise
(
p_e
,
"Can't start the services_discovery module named '%s'"
,
psz_name
);
free
(
p_mdis
);
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