PDA

View Full Version : memory audit.



leblancmeneses
June 7th, 2009, 11:50 PM
I have several malloc, realloc, free in my code.

what tools do you all recommend and how do i run them to help identify if there are any memory leaks?

preferably command line utilities:

language is c and i have libraries similar to this signature:
void rh_stack_constructor(rh_stack_instance* instance, void (*onFreeing)(rh_stack_node*));

MadCow108
June 8th, 2009, 01:05 AM
valgrind is usally the tool of choice