Created attachment 234637 [details] a possible patch In case the second xa_insert() fails, the obj_event is not released. Fix the error unwind flow to free that memory to avoid a memory leak.
Comment on attachment 234637 [details] a possible patch ^Triage: convert this to text/plain and set the Patch flag so that the automation can see it.