git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8240b6
)
taglib: fix a memleak.
author
Rafaël Carré
<funman@videolan.org>
Wed, 3 Oct 2007 16:17:36 +0000
(16:17 +0000)
committer
Rafaël Carré
<funman@videolan.org>
Wed, 3 Oct 2007 16:17:36 +0000
(16:17 +0000)
modules/meta_engine/taglib.cpp
patch
|
blob
|
history
diff --git
a/modules/meta_engine/taglib.cpp
b/modules/meta_engine/taglib.cpp
index
bdbdb58
..
894f171
100644
(file)
--- a/
modules/meta_engine/taglib.cpp
+++ b/
modules/meta_engine/taglib.cpp
@@
-179,6
+179,7
@@
static void DetectImage( FileRef f, demux_t *p_demux )
TAB_INIT( p_demux_meta->i_attachments, p_demux_meta->attachments );
p_attachment = vlc_input_attachment_New( psz_name, psz_mime,
psz_description, p_data, i_data );
+ free( p_data );
TAB_APPEND_CAST( (input_attachment_t**),
p_demux_meta->i_attachments, p_demux_meta->attachments,