mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-01 04:17:02 -05:00
Remove the need of helgrind/drd suppression
Using a mutex for protectign the global memory counter should not affect performance.
This commit is contained in:
parent
b059457190
commit
7ad70c26f8
7 changed files with 45 additions and 24 deletions
|
|
@ -249,7 +249,7 @@ int fmtime(int f, int64_t mtime_sec, int mtime_nsec);
|
|||
/**
|
||||
* Return the size of the allocated memory.
|
||||
*/
|
||||
size_t malloc_counter(void);
|
||||
size_t malloc_counter_get(void);
|
||||
|
||||
/**
|
||||
* Safe malloc.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue