Fixed crash from freeing previous twice.