File gup-fdleak.dif of Package gup
--- ./newsgroups.c.orig 2009-09-04 09:48:56.000000000 +0000
+++ ./newsgroups.c 2009-09-04 09:58:09.000000000 +0000
@@ -158,8 +158,10 @@ load_newsgroups()
/* slurp it in */
length = read(fd, desc, (int) stat.st_size);
+ close(fd);
if (length != stat.st_size) {
logit(L_BOTH, "WARNING", "Error reading newsgroups");
+ free(desc);
return;
}