On 12 April 2013 16:56, Lorenzo Cogotti <miciam...@hotmail.it> wrote:
> This commit modifies drw.c to avoid killing the application
> if an error occurs, the caller should be able to decide what to do
> on error situations, this hopefully improves code reusability on various
> projects. It also checks for calloc() to succeed before using the returned
> pointer, improving code reliability.
> Some minor and trivial style updates have been added, eliminating redundant
> calls to free() and avoiding if (!ptr) return; on simple one-liner functions.

Thanks, applied.

Best regards,
Anselm

Reply via email to