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
5ca01aec
Commit
5ca01aec
authored
Aug 25, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Fix memleak in mkv."
This reverts commit
9b868a2f
.
parent
87219a2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+1
-3
No files found.
modules/demux/mkv.cpp
View file @
5ca01aec
...
@@ -5005,9 +5005,7 @@ void matroska_segment_c::ParseAttachments( KaxAttachments *attachments )
...
@@ -5005,9 +5005,7 @@ void matroska_segment_c::ParseAttachments( KaxAttachments *attachments )
if
(
new_attachment
)
if
(
new_attachment
)
{
{
char
*
tmp
=
ToUTF8
(
UTFstring
(
file_name
)
);
new_attachment
->
psz_file_name
=
ToUTF8
(
UTFstring
(
file_name
)
);
new_attachment
->
psz_file_name
=
tmp
;
free
(
tmp
);
new_attachment
->
psz_mime_type
=
psz_mime_type
;
new_attachment
->
psz_mime_type
=
psz_mime_type
;
new_attachment
->
i_size
=
img_data
.
GetSize
();
new_attachment
->
i_size
=
img_data
.
GetSize
();
new_attachment
->
p_data
=
malloc
(
img_data
.
GetSize
()
);
new_attachment
->
p_data
=
malloc
(
img_data
.
GetSize
()
);
...
...
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