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
e447c962
Commit
e447c962
authored
Apr 05, 2005
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/util/id3tag.c: fixed memory leak.
parent
70496699
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
modules/demux/util/id3tag.c
modules/demux/util/id3tag.c
+3
-1
No files found.
modules/demux/util/id3tag.c
View file @
e447c962
...
...
@@ -68,6 +68,8 @@ static void ParseID3Tag( demux_t *p_demux, uint8_t *p_data, int i_size )
p_id3_tag
=
id3_tag_parse
(
p_data
,
i_size
);
if
(
!
p_id3_tag
)
return
;
if
(
!
p_demux
->
p_private
)
p_demux
->
p_private
=
(
void
*
)
vlc_meta_New
();
while
(
(
p_frame
=
id3_tag_findframe
(
p_id3_tag
,
"T"
,
i
)
)
)
{
int
i_strings
=
id3_field_getnstrings
(
&
p_frame
->
fields
[
1
]
);
...
...
@@ -130,7 +132,7 @@ static int ParseID3Tags( vlc_object_t *p_this )
int
i_size2
;
vlc_bool_t
b_seekable
;
p_demux
->
p_private
=
(
void
*
)
vlc_meta_New
()
;
p_demux
->
p_private
=
NULL
;
msg_Dbg
(
p_demux
,
"checking for ID3 tag"
);
...
...
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