commit | 7faefea66a6d1f0d9da0a18615f57dc969e00d99 | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Tue Aug 10 18:03:10 2010 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Aug 11 08:59:20 2010 -0700 |
tree | a3035d4e86df7460840e7d4991178375b465b918 | |
parent | f46c77c283e514a747aee7e8c4f5afc70274c232 [diff] |
ipmi: fix memleaking for add_smi when duplicating happen Free the temporary info struct when we have duplicated ones. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Cc: Corey Minyard <minyard@acm.org> Cc: Matthew Garrett <mjg@redhat.com> Cc: Len Brown <len.brown@intel.com> Cc: Myron Stowe <myron.stowe@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>