You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
usermem_r.c implements qh_malloc and qh_free which are used instead of calls to malloc and free. However, the library also includes three calls to calloc, and there is no corresponding qh_calloc.
In order for qh_malloc and qh_free to be useful, the user might want to replace use of standard malloc and free with functions from another library. For that to be useful, all memory allocation needs to be user customisable. So there really needs to be a qh_calloc, and the three calls to calloc to be replaced by calls to qh_calloc also.
The text was updated successfully, but these errors were encountered:
usermem_r.c implements qh_malloc and qh_free which are used instead of calls to malloc and free. However, the library also includes three calls to calloc, and there is no corresponding qh_calloc.
In order for qh_malloc and qh_free to be useful, the user might want to replace use of standard malloc and free with functions from another library. For that to be useful, all memory allocation needs to be user customisable. So there really needs to be a qh_calloc, and the three calls to calloc to be replaced by calls to qh_calloc also.
The text was updated successfully, but these errors were encountered: