pthread: free progress if buffer allocation failed.