Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in free

Does freeing an int* which was assigned to a char* (allocated by `malloc`) invoke Undefined Behavior?

Can I free the memory of the char* string when I assign it to std::string?

c++ string free stdstring

Malloc, free and segmentation fault

Free a null pointer anyway or check first?

c pointers memory free

Do I need to free char array of fixed length? [duplicate]

C memory management error?

c memory-management free

How to free recursive struct (trie)

c recursion struct free trie

How to malloc char** table?

c arrays char malloc free

free() call works on simulator, makes iPad angry. iPad smash

How do I keep Perl from consuming tons of memory when child forks of a large parent process shut down?

Understanding of pointers with malloc and free

c arrays pointers malloc free

Using realloc (X, 0) instead of free() and using malloc with length of a string +1

what happens when tried to free memory allocated by heap manager, which allocates more than asked for?

c++ c malloc heap-memory free

Problem with free() on structs in C. It doesn't reduce memory usage

Is it always a good practice to set pointers to NULL after free()-ing them? [duplicate]

c memory null free

Can still print a string after I freed it?

Delete memory of std::map<int, string> completely

c++ map stl free

Free (deleting) allocated memory from the function readdir

c linux stack malloc free

How to free pointer's space in memory?

Is there, besides hunting for memory leaks, another situation where I should free all objects when destroying an application?