diff options
author | Jiri Slaby <jslaby@suse.cz> | 2010-11-06 10:06:52 +0100 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-11-18 23:10:56 +0100 |
commit | 1cf257f511918ba5b2eabd64d9acd40f1d7866ef (patch) | |
tree | 7ba566c24e910eb87b112e1560b294ab5779036c /fs/ocfs2/sysfile.h | |
parent | fs/ocfs2/dlm: Use GFP_ATOMIC under spin_lock (diff) | |
download | linux-1cf257f511918ba5b2eabd64d9acd40f1d7866ef.tar.xz linux-1cf257f511918ba5b2eabd64d9acd40f1d7866ef.zip |
ocfs2: fix memory leak
Stanse found that o2hb_heartbeat_group_make_item leaks some memory on
fail paths. Fix the paths by adding a new label and jump there.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <joel.becker@oracle.com>
Cc: ocfs2-devel@oss.oracle.com
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/sysfile.h')
0 files changed, 0 insertions, 0 deletions