diff options
author | Stanislav Fomichev <stfomichev@yandex-team.ru> | 2014-01-20 15:39:39 +0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-01-20 16:19:08 -0300 |
commit | 8bac41cbfe2efe55e2b93673b84761ed7dd75f69 (patch) | |
tree | ca21eed8c6898078df9fedba67661a6e3f8cd7dc /sound | |
parent | 3415d8b851307c75a1e8aa16030db9172306df78 (diff) | |
download | lwn-8bac41cbfe2efe55e2b93673b84761ed7dd75f69.tar.gz lwn-8bac41cbfe2efe55e2b93673b84761ed7dd75f69.zip |
perf session: Free cpu_map in perf_session__cpu_bitmap
This method uses a temporary struct cpu_map to figure out the cpus
present in the received cpu list in string form, but it failed to free
it after returning. Fix it.
Signed-off-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1390217980-22424-3-git-send-email-stfomichev@yandex-team.ru
[ Use goto + err = -1 to do the delete just once, in the normal exit path ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions