diff options
author | Joe Thornber <[email protected]> | 2014-03-11 16:46:25 +0000 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2014-06-03 13:44:08 -0400 |
commit | 989f26f5ad308f40a95f280bf9cd75e558d4f18d (patch) | |
tree | 035bb4d59ddecce5f2f4f6d868f571cc056ea7d0 /tools/perf/util/trace-event-scripting.c | |
parent | af91805a497d3aa694704172b41ba953be3738ed (diff) |
dm era: check for a non-NULL metadata object before closing it
era_ctr() may call era_destroy() before era->md is initialized so
era_destory() must only close the metadata object if it is not NULL.
Signed-off-by: Joe Thornber <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Cc: [email protected] # 3.15+
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions