Commit a1a3464c authored by Pierre Ynard's avatar Pierre Ynard

lua: fix memory leak

(cherry picked from commit a754b0062dbfcd34a648842a2d8b53707ad6cfe3)
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent f8640237
......@@ -243,6 +243,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