Platform: Linux/KernelEventMechanism: fixed memory leak