CO_delete(CO) invalidates the CO pointer, but CO is not set to NULL afterwards. Subsequent calls to log_printf() may still use CO if it is not NULL. I think CO should be set to NULL after CO_delete(CO).
CO_delete(CO) invalidates the CO pointer, but CO is not set to NULL afterwards.
Subsequent calls to log_printf() may still use CO if it is not NULL.
I think CO should be set to NULL after CO_delete(CO).