msdk: dec: fix leaks when flushing

https://bugzilla.gnome.org/show_bug.cgi?id=793708
1 file changed