Comment about the value returned by malloc_counter_get()

This commit is contained in:
Andrea Mazzoleni 2026-05-21 09:56:25 +02:00
parent 9f57d3217d
commit 1aa808a106
2 changed files with 2 additions and 2 deletions

View file

@ -1699,7 +1699,7 @@ void advise_close(struct advise_struct* advise, int f)
/* memory */
/**
* Total amount of memory allocated.
* Cumulative amount of memory allocated.
*/
static size_t mcounter;

View file

@ -425,7 +425,7 @@ void advise_close(struct advise_struct* advise, int f);
/* memory */
/**
* Return the size of the allocated memory.
* Return the size of the cumulative allocated memory.
*/
size_t malloc_counter_get(void);