Commit c273b441 authored by Rémi Duraffort's avatar Rémi Duraffort

Input/control: Fix memleak.

parent 42a3a463
...@@ -145,6 +145,7 @@ int input_vaControl( input_thread_t *p_input, int i_query, va_list args ) ...@@ -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, int i_ret = input_item_AddInfo( p_input->p->input.p_item,
psz_cat, psz_name, "%s", psz_value ); psz_cat, psz_name, "%s", psz_value );
free( psz_value );
if( !p_input->b_preparsing && !i_ret ) if( !p_input->b_preparsing && !i_ret )
input_SendEventMetaInfo( p_input ); input_SendEventMetaInfo( p_input );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment