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
commit c0befcbecd

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