mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix a memory leak with lc->lc_cap in login_close().
PR: bin/17084
This commit is contained in:
parent
87db9ff6f8
commit
3f81737f30
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue