Fixed a potential vout object leak in decoder.