summaryrefslogtreecommitdiff
path: root/ipc/mq_sysctl.c
diff options
context:
space:
mode:
authorFranck Bui-Huu <fbuihuu@gmail.com>2012-05-25 13:21:49 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-05-25 14:40:59 (GMT)
commite8cdd947776300f962d5b699c34087af45a8aea7 (patch)
tree819f25aa3ca86310ae96a3debe31cfb09deff19f /ipc/mq_sysctl.c
parenta83eb3ea97efbc891b2f67e91329638cd4e21622 (diff)
downloadlinux-fsl-qoriq-e8cdd947776300f962d5b699c34087af45a8aea7.tar.xz
perf tools: fix thread_map__new_by_pid_str() memory leak in error path
The namelist array (including its content) was not freed if we fail to realloc a new 'threads' structure. Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Cc: David Ahern <dsahern@gmail.com> Link: http://lkml.kernel.org/r/1337952109-31995-1-git-send-email-fbuihuu@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions