perf symbols: Move name malloc to when needed in dso__load
authorDavid Ahern <dsahern@gmail.com>
Mon, 14 Jan 2013 17:46:47 +0000 (10:46 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:30 +0000 (16:40 -0300)
commit164c800e42657e586f6fd446b3d8d41cf1f815f1
tree8e908cef842fb0d6569ee31de8dbcbd0cc4346e3
parent9811360ec8b76a68599cb0629cebca026c93cfce
perf symbols: Move name malloc to when needed in dso__load

Memory is currently leaked on some paths.

Signed-off-by: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/r/1358185607-90799-1-git-send-email-dsahern@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/symbol.c