diff options
author | Alexey Fomenko <ext-alexey.fomenko@nokia.com> | 2010-08-09 20:20:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-09 23:45:05 -0400 |
commit | 37ed19d5cce35a40d3913cf9aa208ce9f60db3d7 (patch) | |
tree | a4e3363f5a4c059330372b2f686112bfee6364b2 /security | |
parent | e269b085175acf03fc687a7416b9fd84aa9c6c23 (diff) |
scripts/mod/modpost.c: fix memory leak
sec2annotation returns malloc'ed buffer directly to printf as an argument.
Free this buffer after printing.
Signed-off-by: Alexey Fomenko <ext-alexey.fomenko@nokia.com>
Cc: Trevor Keith <tsrk@tsrk.net>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions