aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorXiaotian Feng <[email protected]>2010-05-26 09:51:10 +0800
committerH. Peter Anvin <[email protected]>2010-05-26 11:26:04 -0700
commit20413f27163fb1b8b806c0c219dc95eae67c633a (patch)
treee40c22039a057bfed07598de0761deda166c8740 /net/lapb/lapb_in.c
parentfe501f1e89cd460793152f500bf25d81d463515b (diff)
x86, pat: Fix memory leak in free_memtype
Reserve_memtype will allocate memory for new memtype, but in free_memtype, after the memtype erased from rbtree, the memory is not freed. Changes since V1: make rbt_memtype_erase return erased memtype so that it can be freed in free_memtype. [ hpa: not for -stable: 2.6.34 and earlier not affected ] Signed-off-by: Xiaotian Feng <[email protected]> LKML-Reference: <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Venkatesh Pallipadi <[email protected]> Cc: Jack Steiner <[email protected]> Acked-by: Suresh Siddha <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions