2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 04:39:34 +00:00

Merge pull request #1106 from Blub/next

conf: set pty_info to NULL after free
This commit is contained in:
Christian Brauner
2016-07-28 16:52:05 +02:00
committed by GitHub

View File

@@ -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;
}