ZALLOC is a macro using calloc, see : jdk/src/java.desktop/unix/native/common/awt/awt_p.h /* allocated and initialize a structure */ #define ZALLOC(T) ((struct T *)calloc(1, sizeof(struct T))) so the return value has to be checked which is missing at some places.
|