Browse Source

login_close() should avoid memory leak.

millert@ ok
OPENBSD_3_1
mpech 22 years ago
parent
commit
1d113f7a3f
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/lib/libutil/check_expire.c

+ 2
- 1
src/lib/libutil/check_expire.c View File

@ -1,4 +1,4 @@
/* $OpenBSD: check_expire.c,v 1.4 2002/02/16 21:27:29 millert Exp $ */
/* $OpenBSD: check_expire.c,v 1.5 2002/02/19 19:06:05 mpech Exp $ */
/*
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
@ -102,6 +102,7 @@ login_check_expire(back, pwd, class, lastchance)
warn = 0;
}
}
login_close(lc);
/*
* If their password is dead (expired longer than


Loading…
Cancel
Save