Commit c0befcbe by Christian Brauner Committed by GitHub

Merge pull request #1106 from Blub/next

conf: set pty_info to NULL after free
parents 11b09c7a e00c0242
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment