backlight: Jump to cleanup code if synthesizing backlight string fails
authorRob Bradford <rob@linux.intel.com>
Tue, 9 Oct 2012 17:44:36 +0000 (18:44 +0100)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 10 Oct 2012 02:57:10 +0000 (22:57 -0400)
commita6b63d0f672e4215aac4ab2d32d82e0132d3165c
treeb7bf67325ae65cc69a9aee209c110c5bf6ab8525
parent6b6795f07070d08f1a26ceec146b91b841cb5654
backlight: Jump to cleanup code if synthesizing backlight string fails

This applies the same pattern as used in other error cases in this block - and
cleans up the file desciptors and allocated memory too.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
src/libbacklight.c