-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Anytime malloc is called, the result should be checked in case it is NULL and ENOMEM occurred.
PIM-Embedding-Lookup/upmem/src/emb_host.c
Line 61 in 1830cfb
| buffers=(struct embedding_buffer**)malloc(NR_TABLES*sizeof(struct embedding_buffer*)); |
buffers = malloc(NR_TABLES*sizeof(struct embedding_buffer*));
if (buffers == NULL) {
// ...
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels