We should go through the error handling path to decrease the 'framebuffer_references' as done everywhere else in this function. Fixes:2e2adb0573("drm/i915: Add render decompression support") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170910085642.13673-1-christophe.jaillet@wanadoo.fr (cherry picked from commit37875d6b3a) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>