[2678] in Athena Bugs

home help back first fref pref prev next nref lref last post

6.3B: libacl library

daemon@ATHENA.MIT.EDU (tjcoppet@mit.edu)
Sun Jul 30 13:50:18 1989

From: <tjcoppet@mit.edu>
Date: Sun, 30 Jul 89 13:50:29 EDT
To: bugs@ATHENA.MIT.EDU
Reply-To: tom_coppeto@mit.edu


The fix below plugs a FILE leak in the acl_load() routine.

					- Tom


*** /paris/source/4.3/athena.lib/acl/acl_files.c        Mon May 29 15:59:33 1989
--- acl_files.c Sun Jul 30 13:35:01 1989

***************
*** 419,424 ****
--- 422,428 ----
               acl_canonicalize_principal(buf, canon);
               add_hash(acl_cache[i].acl, canon);
           }
+          fclose(f);
           acl_cache[i].status = s;
         }
      return(i);

home help back first fref pref prev next nref lref last post