diff options
| -rw-r--r-- | scripts/kconfig/symbol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index 20136ffefb23..3c8bd9bb4267 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c | |||
| @@ -1061,7 +1061,7 @@ struct symbol **sym_re_search(const char *pattern) | |||
| 1061 | } | 1061 | } |
| 1062 | if (sym_match_arr) { | 1062 | if (sym_match_arr) { |
| 1063 | qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); | 1063 | qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); |
| 1064 | sym_arr = malloc((cnt+1) * sizeof(struct symbol)); | 1064 | sym_arr = malloc((cnt+1) * sizeof(struct symbol *)); |
| 1065 | if (!sym_arr) | 1065 | if (!sym_arr) |
| 1066 | goto sym_re_search_free; | 1066 | goto sym_re_search_free; |
| 1067 | for (i = 0; i < cnt; i++) | 1067 | for (i = 0; i < cnt; i++) |
