From: <enl...@li...> - 2003-11-24 07:48:34
|
Enlightenment CVS committal Author : raster Project : e16 Module : epplets Dir : e16/epplets/epplets Modified Files: E-Power.c Log Message: oops. fd leak. forgot to closedir(). fix. =================================================================== RCS file: /cvsroot/enlightenment/e16/epplets/epplets/E-Power.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -3 -r1.16 -r1.17 --- E-Power.c 23 Nov 2003 22:32:35 -0000 1.16 +++ E-Power.c 24 Nov 2003 07:48:32 -0000 1.17 @@ -122,6 +122,7 @@ bat_level += level; } } + closedir(dirp); } if (prev_bat_drain < 1) prev_bat_drain = 1; |