Free memory after copy

Since we don’t reallocate yet