Freeing SDL allocated pointer with SDL_free