]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Fix memory leaks in LOCK handling
authorRabin Vincent <rabin@rab.in>
Sun, 18 Jan 2015 19:00:21 +0000 (20:00 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Jan 2015 13:05:32 +0000 (10:05 -0300)
commita9b6f4062cbc66761bc59e9754f2b450c82c6dc0
tree04dd87c012dca644ecd7308a05b73349e3a5ec82
parenta7b6bf366476b2e2d7cf744e2eaf23f12cb16bb0
perf annotate: Fix memory leaks in LOCK handling

The lock prefix handling fails to free the strdup()'d name as well as
the fields allocated by the instruction parsing.

Signed-off-by: Rabin Vincent <rabin@rab.in>
Cc: Paul Mackerras <paulus@samba.org>
Link: http://lkml.kernel.org/r/1421607621-15005-2-git-send-email-rabin@rab.in
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c