Log Message: make sure members are not used uninitialized
Perhaps this should have just been changed to ch_calloc instead of ch_malloc...
That was my first try, but in some cases 0 is not the right default for a variable, so better explicitly set values... feel free to change.
p.