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
b007760f
Commit
b007760f
authored
Jul 31, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stream out: fix memleak.
parent
98e9da7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/stream_out/standard.c
modules/stream_out/standard.c
+4
-0
No files found.
modules/stream_out/standard.c
View file @
b007760f
...
@@ -278,6 +278,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -278,6 +278,7 @@ static int Open( vlc_object_t *p_this )
else
else
{
{
msg_Err
(
p_stream
,
"no access _and_ no muxer (fatal error)"
);
msg_Err
(
p_stream
,
"no access _and_ no muxer (fatal error)"
);
free
(
p_sys
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
}
}
...
@@ -300,6 +301,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -300,6 +301,7 @@ static int Open( vlc_object_t *p_this )
else
else
{
{
msg_Err
(
p_stream
,
"no mux specified or found by extension"
);
msg_Err
(
p_stream
,
"no mux specified or found by extension"
);
free
(
p_sys
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
}
}
...
@@ -368,6 +370,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -368,6 +370,7 @@ static int Open( vlc_object_t *p_this )
psz_access
,
psz_mux
,
psz_url
);
psz_access
,
psz_mux
,
psz_url
);
free
(
psz_access
);
free
(
psz_access
);
free
(
psz_mux
);
free
(
psz_mux
);
free
(
p_sys
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
msg_Dbg
(
p_stream
,
"access opened"
);
msg_Dbg
(
p_stream
,
"access opened"
);
...
@@ -382,6 +385,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -382,6 +385,7 @@ static int Open( vlc_object_t *p_this )
sout_AccessOutDelete
(
p_access
);
sout_AccessOutDelete
(
p_access
);
free
(
psz_access
);
free
(
psz_access
);
free
(
psz_mux
);
free
(
psz_mux
);
free
(
p_sys
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
msg_Dbg
(
p_stream
,
"mux opened"
);
msg_Dbg
(
p_stream
,
"mux opened"
);
...
...
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