diff --git a/src/jtagmkII.c b/src/jtagmkII.c index ae1e6d81..0266ce9f 100644 --- a/src/jtagmkII.c +++ b/src/jtagmkII.c @@ -539,7 +539,7 @@ static int jtagmkII_recv_frame(const PROGRAMMER *pgm, unsigned char **msg, msglen, MAX_MESSAGE); state = sSTART; headeridx = 0; - } else if ((buf = malloc(msglen + 10)) == NULL) { // Sic! malloc is OK here + } else if ((buf = malloc(msglen + 10)) == NULL) { pmsg_error("out of memory\n"); ignorpkt++; } else {