free format_expand result

Forgot to free() the result from format_expand()