[vlc-devel] commit: Input/control: Fix memleak. ( Rémi Duraffort )
git version control
git at videolan.org
Sun Nov 30 20:21:49 CET 2008
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Nov 30 20:17:22 2008 +0100| [c273b44121435e8e6b37dfd2d42ab0ff80e866a0] | committer: Rémi Duraffort
Input/control: Fix memleak.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c273b44121435e8e6b37dfd2d42ab0ff80e866a0
---
src/input/control.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/input/control.c b/src/input/control.c
index 4d08bd8..4239a40 100644
--- a/src/input/control.c
+++ b/src/input/control.c
@@ -145,6 +145,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args )
int i_ret = input_item_AddInfo( p_input->p->input.p_item,
psz_cat, psz_name, "%s", psz_value );
+ free( psz_value );
if( !p_input->b_preparsing && !i_ret )
input_SendEventMetaInfo( p_input );
More information about the vlc-devel
mailing list