[MPlayer-dev-eng] [PATCH] ao_macosx clean up code for init failing

Chris Roccati roccati at pobox.com
Sat Dec 1 20:38:56 CET 2007


On 1 Dec 2007, at 10:36 , Ulion wrote:
> To prevent from leaking when init fails, here's clean up patch for it.
> If no objections, commit in 3 days.

It makes sense.

I've never added the extra code in the error branch because of the  
fact that a failure is indication of something so tragical that it's  
unlikely that the application will be able to go on; yet still, from  
a stylistic point of view the cleanup in case of failure is a good idea.





More information about the MPlayer-dev-eng mailing list