event_jid is a buffer, not a pointer, so don't free() it