Code

Close on fd
authorTon Voon <tonvoon@users.sourceforge.net>
Fri, 8 Aug 2008 16:12:00 +0000 (16:12 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Fri, 8 Aug 2008 16:12:00 +0000 (16:12 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2031 f882894a-f735-0410-b71e-b25c423dba1c

plugins-root/pst3.c

index 3954ec5f5888c61ced7579705e97ce2e1b0b2614..b275a6bce22bbb078668c097bf9fbbb3d670cd83 100644 (file)
@@ -228,6 +228,7 @@ try_again:
     }
     free(args_vecs);
     free(args);
+    close(as_fd);
     printf("\n");
   }