diff options
author | Taeung Song <treeze.taeung@gmail.com> | 2015-07-01 21:08:19 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-07-01 17:53:49 -0300 |
commit | 1df9fade87ea4831c024de9806f88427f9f33e62 (patch) | |
tree | df9122c9333606cf0606aa9e5d691e704f1b4132 /tools/perf/config/Makefile | |
parent | 41b983609a1618e9fa70023d83232ed959056c8a (diff) | |
download | op-kernel-dev-1df9fade87ea4831c024de9806f88427f9f33e62.zip op-kernel-dev-1df9fade87ea4831c024de9806f88427f9f33e62.tar.gz |
perf mem: Fill in the missing session freeing after an error occurs
When an error occurs an error value is just returned without freeing the
session. So allocating and freeing session have to be matched as a pair
even if an error occurs.
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1435752499-11752-1-git-send-email-treeze.taeung@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/config/Makefile')
0 files changed, 0 insertions, 0 deletions