fix missing deref of tty data when destroyed (#2)
This commit is contained in:
@@ -1204,6 +1204,7 @@ static void ttynvt_release(fuse_req_t req, struct fuse_file_info *info)
|
|||||||
fuse_pollhandle_destroy(tty->ph);
|
fuse_pollhandle_destroy(tty->ph);
|
||||||
|
|
||||||
_ttynvt_ctx_destroy(tty);
|
_ttynvt_ctx_destroy(tty);
|
||||||
|
ptty = NULL;
|
||||||
|
|
||||||
nvt_log(LOG_INFO, "Disconnected from server: %s\n", ttynvt_param.server);
|
nvt_log(LOG_INFO, "Disconnected from server: %s\n", ttynvt_param.server);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user