[for-next][PATCH 06/23] tracing: Fix potential double free in create_var_ref()