Got it freeing correctly