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
22fdc71c
Commit
22fdc71c
authored
Dec 06, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/mkv.cpp: fixed memory leaks.
parent
40501a01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
modules/demux/mkv.cpp
modules/demux/mkv.cpp
+9
-11
No files found.
modules/demux/mkv.cpp
View file @
22fdc71c
...
...
@@ -1041,21 +1041,14 @@ public:
{
delete
tracks
[
i_track
]
->
p_compression_data
;
}
if
(
tracks
[
i_track
]
->
fmt
.
psz_description
)
{
free
(
tracks
[
i_track
]
->
fmt
.
psz_description
);
}
es_format_Clean
(
&
tracks
[
i_track
]
->
fmt
);
if
(
tracks
[
i_track
]
->
p_extra_data
)
free
(
tracks
[
i_track
]
->
p_extra_data
);
if
(
tracks
[
i_track
]
->
psz_codec
)
{
free
(
tracks
[
i_track
]
->
psz_codec
);
}
if
(
tracks
[
i_track
]
->
fmt
.
psz_language
)
{
free
(
tracks
[
i_track
]
->
fmt
.
psz_language
);
}
delete
tracks
[
i_track
];
}
if
(
psz_writing_application
)
{
free
(
psz_writing_application
);
...
...
@@ -1334,6 +1327,11 @@ public:
delete
opened_segments
[
i
];
for
(
i
=
0
;
i
<
used_segments
.
size
();
i
++
)
delete
used_segments
[
i
];
if
(
meta
)
vlc_meta_Delete
(
meta
);
while
(
titles
.
size
()
)
{
vlc_input_title_Delete
(
titles
.
back
()
);
titles
.
pop_back
();}
vlc_mutex_destroy
(
&
lock_demuxer
);
}
...
...
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