[PATCH] fix a memory leak in pack_ptr_list
commit9ea30e2aea4877765c8d41e683e3674af575a338
authorAlecs King <alecsk@gmail.com>
Sat, 31 Dec 2005 07:20:27 +0000 (31 15:20 +0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 31 Dec 2005 19:32:36 +0000 (31 11:32 -0800)
tree728462f6c2d05e409a744d770e9ede0c9948a546
parentc6e90aa8eb9c0b32a771428aff9f2aff2e9bbd9d
[PATCH] fix a memory leak in pack_ptr_list

Free the last entry when the whole list gets empty.

Signed-off-by: Alecs King <alecsk@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
ptrlist.c