diff options
author | Amerigo Wang <amwang@redhat.com> | 2009-09-23 15:57:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-24 07:21:01 -0700 |
commit | 0cf062d0ffa33d491e2695b0d298ccf9cbb58d3d (patch) | |
tree | f936d4c0a9ee6c15f76266d5d0b9cbdec3cafc8c /security/root_plug.c | |
parent | d9588725e52650e82989707f8fd2feb67ad2dc8e (diff) |
elf: clean up fill_note_info()
Introduce a helper function elf_note_info_init() to help fill_note_info()
to do initializations, also fix the potential memory leaks.
[akpm@linux-foundation.org: remove NUM_NOTES]
Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: David Howells <dhowells@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/root_plug.c')
0 files changed, 0 insertions, 0 deletions