Commit a754b006 authored by Pierre Ynard's avatar Pierre Ynard

lua: fix memory leak

parent 31b5fbdb
......@@ -240,6 +240,7 @@ static int vlclua_equalizer_set( lua_State *L )
bands[i_pos+i] = newstr[i];
var_SetString( p_aout, "equalizer-bands", bands );
free( bands );
vlc_object_release( p_aout );
return 1;
}
......
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