summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/machine.c
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2013-11-19 02:20:43 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-19 04:07:53 +0100
commit801a76050bcf8d4e500eb8d048ff6265f37a61c8 (patch)
tree261258d2a4f61f07f238c18ea1087fca6eea9947 /tools/perf/util/machine.c
parentMerge git://www.linux-watchdog.org/linux-watchdog (diff)
downloadlinux-801a76050bcf8d4e500eb8d048ff6265f37a61c8.tar.xz
linux-801a76050bcf8d4e500eb8d048ff6265f37a61c8.zip
seq_file: always clear m->count when we free m->buf
Once we'd freed m->buf, m->count should become zero - we have no valid contents reachable via m->buf. Reported-by: Charley (Hao Chuan) Chu <charley.chu@broadcom.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/util/machine.c')
0 files changed, 0 insertions, 0 deletions