[PATCH openEuler-1.0-LTS] tracing/histograms: Fix memory leak problem