[PATCH 4.4 08/37] tracing: Fix crash when freeing instances with event triggers