On Fri, 09 Jan 2015 15:45:51 -0600, Brent Cook wrote:

>  - If imsg_add fails, it frees buf. But, so does imsg_close. Punt for
>    now and just die if imsg_add fails (maybe this should be handled more
>    nicely?)

I think it makes sense to treat imsg_add() failure the same as
imsg_create returning NULL.  Perhaps if imsg_add() fails you can
set buf to NULL since it has been freed?

 - todd

Reply via email to