Fix a memory leak with lc->lc_cap in login_close().
PR: bin/17084
This commit is contained in:
parent
87db9ff6f8
commit
3f81737f30
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user