Replace ALLOC_GROW with normal realloc code in add_cmd_list()
so that it can handle errors directly.
Signed-off-by: Masami Hiramatsu
---
tools/perf/util/help-unknown-cmd.c | 30 ++
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git
Replace ALLOC_GROW with normal realloc code in add_cmd_list()
so that it can handle errors directly.
Signed-off-by: Masami Hiramatsu
---
tools/perf/util/help-unknown-cmd.c | 30 ++
1 file changed, 22 insertions(+), 8 deletions(-)
diff --git
2 matches
Mail list logo