From cc1bb0c79f10a88e28a25a9c58a60fb0a356c39e Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Wed, 17 Jul 2024 17:56:44 +0300 Subject: [PATCH] kasmxproxy: Fix cursor mem leak --- unix/kasmxproxy/kasmxproxy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unix/kasmxproxy/kasmxproxy.c b/unix/kasmxproxy/kasmxproxy.c index f275956..4c8e91e 100644 --- a/unix/kasmxproxy/kasmxproxy.c +++ b/unix/kasmxproxy/kasmxproxy.c @@ -520,6 +520,8 @@ int main(int argc, char **argv) { cursorhash = newhash; } + XFree(cursor); + usleep(sleeptime); }