@@ -284,7 +284,7 @@ int cal_read_block(struct cal * cal, const char * name, void ** ptr, unsigned lo
return-1;
*ptr=malloc(hdr->length);
if(!ptr)
if(!*ptr)
return-1;
memcpy(*ptr,offset,hdr->length);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.