File sarg-2.2.5-fdleak.patch of Package sarg

Index: smartfilter.c
===================================================================
--- smartfilter.c.orig	2009-10-10 02:19:22.000000000 +0200
+++ smartfilter.c	2009-10-10 02:25:24.000000000 +0200
@@ -169,6 +169,7 @@ void smartfilter_report()
       sprintf(html,"<tr><td bgcolor=%s align=center><font size=%s>%s</font></td><td bgcolor=%s align=center><font size=%s>%s</font></td><td bgcolor=%s align=center><font size=%s>%s-%s</font></td><td bgcolor=%s><font size=%s>%s</font></td><td bgcolor=%s><font size=%s>%s</font></td></th>\n",TxBgColor,FontSize,user,TxBgColor,FontSize,ip,TxBgColor,FontSize,data,hora,TxBgColor,FontSize,url,TxBgColor,FontSize,smartcat);
       fputs(html,fp_ou);
    }
+   fclose(fp_in);
 
    fputs("</table>\n",fp_ou);
 
openSUSE Build Service is sponsored by