[PATCH 5.4 040/388] tracing: Verify if trace array exists before destroying it.