diff options
| author | Joseph Qi <joseph.qi@huawei.com> | 2016-07-26 15:21:38 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-26 16:19:19 -0700 |
| commit | 8ec7b17a668403435a7ab09b952e7f2eca61cf20 (patch) | |
| tree | 70e3c3ece76ba60b3bbeef0961939c5ad4461dbc /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | ocfs2: cleanup unneeded goto in ocfs2_create_new_inode_locks (diff) | |
| download | linux-8ec7b17a668403435a7ab09b952e7f2eca61cf20.tar.gz linux-8ec7b17a668403435a7ab09b952e7f2eca61cf20.zip | |
ocfs2/dlm: fix memory leak of dlm_debug_ctxt
dlm_debug_ctxt->debug_refcnt is initialized to 1 and then increased to 2
by dlm_debug_get in dlm_debug_init. But dlm_debug_put is called only
once in dlm_debug_shutdown during unregister dlm, which leads to
dlm_debug_ctxt leaked.
Link: http://lkml.kernel.org/r/577BB755.4030900@huawei.com
Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Reviewed-by: Jiufei Xue <xuejiufei@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.de>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
