Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in malloc

Segmentation fault when replacing `malloc`, `calloc`, `realloc` and `free` via `LD_PRELOAD`

c linux malloc x86-64 ld-preload

C Not sure what to free properly

c memory linked-list malloc

Pointer to pointer in parameter in C

Initializing a pointer at declaration time in a C struct

c pointers struct malloc

How to avoid memory leak when passing function-returned pointer as input to other function?

Array of pointers to structs - why is malloc() required, why is direct field copies required?

c pointers struct malloc

How to create a dynamic array of strings in C using malloc

c arrays malloc realloc

Is it safe to call free on std::string_view::data?

malloc(sizeof(s)) allocates less memory than expected?

c malloc

What does allocating memory of size char * do?

Why does malloc ask for unreasonable amout of memory from sbrk. what can prevent it?

Can I 'reserve' memory somehow, so as to ensure malloc doesn't fail for this reason

c memory-management malloc

Malloc implementation with C

c malloc

Malloc call crashing, but works elsewhere

c crash malloc

Allocating memory for a char array to concatenate a known piece of text and an integer

C array of structure gives random segfault + valgrind invalid write error

Any function to query the size of an allocated block?

c memory malloc glibc

Apparent memory leak in gperftools