input: fix memory leak with full key buffer
commit14bcd31ef43870b955ac32db488ee71afb4176e2
authorwm4 <wm4@nowhere>
Sun, 14 Oct 2012 21:45:41 +0000 (14 23:45 +0200)
committerUoti Urpala <uau@mplayer2.org>
Thu, 18 Oct 2012 14:51:59 +0000 (18 17:51 +0300)
tree021f61deeb77aa5ca49148afe2c78fe121aff640
parent770654791e9b51e05d1d8cf56017cc481cbcd971
input: fix memory leak with full key buffer

mp_input_feed_key() didn't free the command if it was discarded due
to the queue exceeding its maximum size. Fix.
input/input.c