mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-03-29 08:29:52 +00:00
add missing free
This commit is contained in:
@@ -843,6 +843,7 @@ void Plot::drawAnnotations(QRect annotationRect, QPainter *painter) {
|
||||
|
||||
char *textA = (char *)calloc(1, length);
|
||||
if (textA == NULL) {
|
||||
free(annotation);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user