vesa: Fix double close() bug in vesacon_load_background()
authorMatt Fleming <matt.fleming@intel.com>
Thu, 15 Nov 2012 21:27:59 +0000 (21:27 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 15 Nov 2012 21:27:59 +0000 (21:27 +0000)
commitc6ce504b8b79729a4e0acc2bebc5e497e4098e60
tree6520df083baffbc3ff354613c04a4f38d455df8b
parent3da9e71f9ffa0ca968ccfcf26d536908d198ef5c
vesa: Fix double close() bug in vesacon_load_background()

We always call fclose() on 'fp' if fopen() was successful, so delete
the extraneous fclose() call in read_jpeg_file().

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
com32/lib/sys/vesa/background.c