fix mssing deref of tty data when destroyed
This commit is contained in:
@@ -541,6 +541,7 @@ static void ttynvt_open(fuse_req_t req, struct fuse_file_info *info)
|
|||||||
|
|
||||||
free(tty_cli);
|
free(tty_cli);
|
||||||
_ttynvt_ctx_destroy(tty);
|
_ttynvt_ctx_destroy(tty);
|
||||||
|
ptty = NULL;
|
||||||
|
|
||||||
fuse_reply_err(req, errno);
|
fuse_reply_err(req, errno);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user