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
de163952
Commit
de163952
authored
Dec 03, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix über memleak when falling back to MMS/HTTP
parent
71203820
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
22 deletions
+2
-22
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+2
-22
No files found.
modules/access/mms/mmstu.c
View file @
de163952
...
...
@@ -88,26 +88,6 @@ static int mms_HeaderMediaRead( access_t *, int );
static
int
mms_ReceivePacket
(
access_t
*
);
/*
* XXX DON'T FREE MY MEMORY !!! XXX
* non mais :P
*/
/*
* Ok, ok, j'le ferai plus...
*/
/*
* Merci :))
*/
/*
* Vous pourriez signer vos commentaires (m�e si on voit bien qui peut
* �rire ce genre de trucs :p), et �rire en anglais, bordel de
* merde :p.
*/
/*
* Alors la ouai �est fou les gens qui �rivent des commentaires sans les
* signer. Ca m�iterait un coup de pied dans le cul � :)
*/
int
E_
(
MMSTUOpen
)(
access_t
*
p_access
)
{
access_sys_t
*
p_sys
;
...
...
@@ -173,6 +153,7 @@ int E_(MMSTUOpen)( access_t *p_access )
{
msg_Err
(
p_access
,
"cannot connect to server"
);
vlc_UrlClean
(
&
p_sys
->
url
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
...
...
@@ -203,8 +184,7 @@ int E_(MMSTUOpen)( access_t *p_access )
if
(
MMSStart
(
p_access
,
0xffffffff
)
<
0
)
{
msg_Err
(
p_access
,
"cannot start stream"
);
MMSClose
(
p_access
);
vlc_UrlClean
(
&
p_sys
->
url
);
E_
(
MMSTUClose
)
(
p_access
);
return
VLC_EGENERIC
;
}
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