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
When trying to allocate memory using malloc, this can sometimes fail if the operating system does not have any available memory to allocate of the size specified. We should properly handle this and return a NULL pointer when trying to allocate structs and in some cases handle this through assertions. Right now this is being handled by the way of just assertions, which works but is not a preferred method of handling it for obvious reasons...
When trying to allocate memory using
malloc
, this can sometimes fail if the operating system does not have any available memory to allocate of the size specified. We should properly handle this and return a NULL pointer when trying to allocate structs and in some cases handle this through assertions. Right now this is being handled by the way of just assertions, which works but is not a preferred method of handling it for obvious reasons...Reference:
https://github.com/AnythingTechPro/vulkan/blob/5a6027ed497f3e0d0d95050c27931861813e2fae/src/core/transaction.c#L63
The text was updated successfully, but these errors were encountered: