commit | 546c856ade4908ccd2e3a1d9bbd1633f3fb52194 | [log] [tgz] |
---|---|---|
author | Rob Bradford <rob@linux.intel.com> | Wed Dec 05 18:47:09 2012 +0000 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Dec 06 22:33:01 2012 -0500 |
tree | e3c3dad77d993047c66282fec48d6a69e9448110 | |
parent | acfb7121275dee018b221ef34b7f5fa7026675b5 [diff] |
backlight: Revamp error handling code to not leak the directory To neatly free the directory pointer allocated by opendir(), adjust the error handling paths to go through to the err label.