fix leak: free arch bp before exit