Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
841903a6
Commit
841903a6
authored
May 27, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/mjpeg.c: fixed small memleak.
parent
12535c3e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
modules/demux/mjpeg.c
modules/demux/mjpeg.c
+4
-0
No files found.
modules/demux/mjpeg.c
View file @
841903a6
...
...
@@ -234,12 +234,16 @@ static vlc_bool_t CheckMimeHeader( demux_t *p_demux, int *p_header_size )
free
(
psz_line
);
psz_line
=
GetLine
(
p_demux
,
&
i_pos
);
}
if
(
NULL
==
psz_line
)
{
msg_Err
(
p_demux
,
"no EOL"
);
*
p_header_size
=
-
3
;
return
VLC_FALSE
;
}
free
(
psz_line
);
*
p_header_size
=
i_pos
;
return
b_jpeg
;
}
...
...
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