why2_clean_memory¶
Parameters¶
Identifier | Data type |
---|---|
identifier |
char * |
Attributes¶
Return type | void |
Header comment | identifier SPECIFIES WHICH NODES TO DEALLOCATE | THIS IS BASICALLY GARBAGE COLLECTOR | PASS why2_get_default_memory_identifier() FOR DEALLOCATING EVERYTHING |
Added in commit | abbd82077821c3b06720212ca89f5d9438500a48 |
Description¶
This is basically a garbage collector.
Function deallocates all memory allocated with WHY2-memory, with ID identifier
. You can pass why2_get_default_memory_identifier()
as identifier
to deallocate all memory.