[PATCH 4.17 009/336] tracing: Fix possible double free in event_enable_trigger_func()