icon loading can leak filedescriptors

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 13 Jun 2001 04:41:03 +0800

Whilst playing with the icon loading code, I've found a
very subtle bug.

in mimeLoadIconFile(), if the fstat() fails the routine returns
without calling file_close(), leaking a filedescriptor.

I'm not going to bother patching it - I'll fix it in my diskio code.

Adrian

-- 
Adrian Chadd			<Liedra> Don't worry, I know who *you* are ;)
<adrian@creative.net.au> 	<spiv> We know everything about you.
Received on Tue Jun 12 2001 - 14:41:09 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:03 MST