From 2b5f7e1d0c41530660e4f6c96b1914e263d481a2 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 29 Mar 2026 09:41:23 +0700 Subject: [PATCH] add missing free --- client/src/proxguiqt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/proxguiqt.cpp b/client/src/proxguiqt.cpp index b84a950dc..b0cf3076d 100644 --- a/client/src/proxguiqt.cpp +++ b/client/src/proxguiqt.cpp @@ -843,6 +843,7 @@ void Plot::drawAnnotations(QRect annotationRect, QPainter *painter) { char *textA = (char *)calloc(1, length); if (textA == NULL) { + free(annotation); return; }