diff --git a/[refs] b/[refs] index b36928f1c22f..5868d0ce98f3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f15b18d0755b3ee4b29991fc2fde535ee41df53c +refs/heads/master: 82afae6016b672acb90ceb8e773bba0bd977d2a3 diff --git a/trunk/Documentation/perf_counter/builtin-top.c b/trunk/Documentation/perf_counter/builtin-top.c index cd6f61d73418..b1549dd27720 100644 --- a/trunk/Documentation/perf_counter/builtin-top.c +++ b/trunk/Documentation/perf_counter/builtin-top.c @@ -523,7 +523,7 @@ static int read_symbol(FILE *in, struct sym_entry *s) if (strstr(sym, "_text_start") || strstr(sym, "_text_end")) return 1; - s->sym = malloc(strlen(str)); + s->sym = malloc(strlen(str)+1); assert(s->sym); strcpy((char *)s->sym, str);