Fix a memory leak with lc->lc_cap in login_close().

PR:		bin/17084
This commit is contained in:
Tim Vanderhoek 2000-05-21 02:50:36 +00:00
parent 87db9ff6f8
commit 3f81737f30

View File

@ -152,6 +152,7 @@ login_close(login_cap_t * lc)
if (lc) {
free(lc->lc_style);
free(lc->lc_class);
free(lc->lc_cap);
free(lc);
if (--lc_object_count == 0) {
free(internal_string);