OGAWA Hirofumi 31be830953 [PATCH] Fix strange size check in __get_vm_area_node()
Recently, __get_vm_area_node() was changed like following

 	if (unlikely(!area))
 		return NULL;

-	if (unlikely(!size)) {
-		kfree (area);
+	if (unlikely(!size))
 		return NULL;
-	}

It is leaking `area', also original code seems strange already.
Probably, we wanted to do this patch.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-11-16 11:43:38 -08:00
..
2006-09-26 08:48:44 -07:00
2006-01-11 18:42:13 -08:00
2006-09-26 08:48:45 -07:00
2006-09-26 08:48:58 -07:00
2005-04-16 15:20:36 -07:00
2006-11-03 12:27:56 -08:00
2006-09-26 08:48:45 -07:00
2006-09-29 09:18:23 -07:00