commit | 1cf257f511918ba5b2eabd64d9acd40f1d7866ef | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Sat Nov 06 10:06:52 2010 +0100 |
committer | Joel Becker <joel.becker@oracle.com> | Thu Nov 18 14:10:56 2010 -0800 |
tree | 7ba566c24e910eb87b112e1560b294ab5779036c | |
parent | a48a982a6bd3896274dd643397c72da9258411e2 [diff] |
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>