fix missing deref of tty data when destroyed (#2)

This commit is contained in:
Frank Rolsted Jensen
2024-03-21 14:54:34 +01:00
parent 299cfcabb5
commit 7c80995256
+1
View File
@@ -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);