File argus-clients-3.0.6-fclose.patch of Package argus-client.914

--- clients/ranonymize.c	2008-03-17 17:42:31.000000000 +0100
+++ clients/ranonymize.c	2009-08-13 22:07:04.000000000 +0200
@@ -1710,7 +1710,7 @@
                }
             }
          }
-
+         flose(fd);
       } else {
 #ifdef ARGUSDEBUG
          ArgusDebug (2, "%s: %s\n", file, strerror(errno));
--- common/argus_client.c	2008-03-24 13:28:06.000000000 +0100
+++ common/argus_client.c	2009-08-27 10:01:37.000000000 +0200
@@ -8560,6 +8560,9 @@
    } else
       retn = agg;
 
+   if (fd != NULL)
+      fclose(fd);
+
    return (retn);
 }
openSUSE Build Service is sponsored by