mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 22:00:19 -05:00
Add a memory test at the stream buffer
This commit is contained in:
parent
fed3e8be1f
commit
87aa5d5e7b
2 changed files with 19 additions and 3 deletions
|
|
@ -403,6 +403,11 @@ void* malloc_nofail_align(size_t size, void** freeptr);
|
|||
*/
|
||||
void** malloc_nofail_vector_align(int nd, int n, size_t size, void** freeptr);
|
||||
|
||||
/**
|
||||
* Safe allocation with memory test.
|
||||
*/
|
||||
void* malloc_nofail_test(size_t size);
|
||||
|
||||
/**
|
||||
* Tests the memory vector for RAM problems.
|
||||
* If a problem is found, it crashes.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue