Let user choose what malloc he wants to use.
Do the same for freeing.