mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 01:12:16 +00:00
Merge pull request #1106 from Blub/next
conf: set pty_info to NULL after free
This commit is contained in:
commit
c0befcbecd
@ -3327,6 +3327,7 @@ void lxc_delete_tty(struct lxc_tty_info *tty_info)
|
||||
}
|
||||
|
||||
free(tty_info->pty_info);
|
||||
tty_info->pty_info = NULL;
|
||||
tty_info->nbtty = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user