Subject: Here is a (netbsd) patch to be published
To: None <spm@kidd.vet.purdue.edu>
From: Christopher Jon Kane <kane@kidd.vet.purdue.edu>
List: netbsd-bugs
Date: 01/08/1994 11:59:33
Fixes a small memory leak (476 bytes) in libc's database
subsystem.

*** /usr/src/lib/libc/db/hash/hash.c~   Fri Dec 17 01:22:43 1993
--- /usr/src/lib/libc/db/hash/hash.c    Sat Jan  8 11:51:31 1994
***************
*** 434,439 ****
--- 434,441 ----
        if (hashp->fp != -1)
                (void)close(hashp->fp);
  
+       free(hashp);
+ 
        if (save_errno) {
                errno = save_errno;
                return (ERROR);



------------------------------------------------------------------------------