this will be leaking when we destroy the table.. what I did is in the event struct I added an element called key to hold this value (https://github.com/bdpayne/libvmi/pull/57/files#L8R164). I would like to verify if this is necessary, it seemed like here your approach might have been working!