[PATCH (speechd) 4/4] Restructure logging_init to eliminate multiple returns.
Luke Yelavich
luke.yelavich at canonical.com
Wed Feb 24 05:37:41 CET 2010
On Sat, Feb 20, 2010 at 02:50:12AM EST, Christopher Brannon wrote:
> When I "fixed" the memory leak in logging_init, I forgot that the function
> had multiple return statements. This patch eliminates them by restructuring
> the code. Now, logging_init only returns at one point.
>
> If the requested logfile could not be opened, the previous version would
> incorrectly report that it was logging to the given file. Fixed.
Applied, thanks.
Luke
More information about the Speechd
mailing list