projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'arm-dt-6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-2.6-microblaze.git]
/
kernel
/
trace
/
trace_events_hist.c
diff --git
a/kernel/trace/trace_events_hist.c
b/kernel/trace/trace_events_hist.c
index
48e82e1
..
e87a467
100644
(file)
--- a/
kernel/trace/trace_events_hist.c
+++ b/
kernel/trace/trace_events_hist.c
@@
-4430,6
+4430,8
@@
static int parse_var_defs(struct hist_trigger_data *hist_data)
s = kstrdup(field_str, GFP_KERNEL);
if (!s) {
+ kfree(hist_data->attrs->var_defs.name[n_vars]);
+ hist_data->attrs->var_defs.name[n_vars] = NULL;
ret = -ENOMEM;
goto free;
}