diff options
| author | Andrew Morton <[email protected]> | 2006-06-23 02:05:31 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-06-23 07:43:05 -0700 |
| commit | 304c4c841a31c780a45d65e389b07706babf5d36 (patch) | |
| tree | d5fed361a127e46c1a99d72ef907e1c6b03a1abe /scripts/basic/split-include.c | |
| parent | 22722051fb6bcbb95c895e68dad10d34a9db7e4d (diff) | |
[PATCH] jbd: avoid kfree(NULL)
There are a couple of places where JBD has to check to see whether an unneeded
memory allocation was performed. Usually it _was_ needed, so we end up
calling kfree(NULL). We can micro-optimise that by checking the pointer
before calling kfree().
Thanks to Steven Rostedt <[email protected]> for identifying this.
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions