Fixed Custom Malloc to Actually Re-Assign the Freed Variables

This only took forever