[DVDnav-discuss] [PATCH 1/6] Some system calls that report errors are not being checked.

Nico Sabbi nicola.sabbi at poste.it
Sun Feb 15 09:45:23 CET 2009


Il giorno ven, 13/02/2009 alle 20.32 +0100, Reimar Döffinger ha scritto:
> On Fri, Feb 13, 2009 at 11:20:49AM -0800, Erik Hovland wrote:

> 
> Obviously there are a whole lot of free/close etc. missing, and with
> more returns that IMO becomes completely unmaintainable.
> I think this is a perfect place for something like "goto error" which
> does all the necessary cleanup.
> Afterwards the error checks can be added.

 I agree




More information about the DVDnav-discuss mailing list