add missing free

This commit is contained in:
iceman1001
2026-03-29 09:41:23 +07:00
parent 2028a34d5e
commit 2b5f7e1d0c

View File

@@ -843,6 +843,7 @@ void Plot::drawAnnotations(QRect annotationRect, QPainter *painter) {
char *textA = (char *)calloc(1, length);
if (textA == NULL) {
free(annotation);
return;
}