]> andersk Git - moira.git/commitdiff
Fix memory leak.
authorzacheiss <zacheiss>
Tue, 8 May 2007 16:25:28 +0000 (16:25 +0000)
committerzacheiss <zacheiss>
Tue, 8 May 2007 16:25:28 +0000 (16:25 +0000)
server/mr_sauth.c

index 100297c027e60d59dee858426be68d085f8af461..17fe74f78c82addefb44f9b5f5c35501f49b65cd 100644 (file)
@@ -246,8 +246,6 @@ void do_krb5_auth(client *cl)
   strncpy(cl->entity, cl->req.mr_argv[1], sizeof(cl->entity) - 1);
   cl->entity[sizeof(cl->entity) - 1] = 0;
 
-  memset(&ticket, 0, sizeof(ticket));  /* Clean up session key, etc. */
-
   com_err(whoami, 0, "krb5 auth to %s using %s, uid %d cid %d",
          cl->clname, cl->entity, cl->users_id, cl->client_id);
 
This page took 0.150863 seconds and 5 git commands to generate.