mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-16 09:01:09 +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);
|
free(tty_info->pty_info);
|
||||||
|
tty_info->pty_info = NULL;
|
||||||
tty_info->nbtty = 0;
|
tty_info->nbtty = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user