uml: drivers/net_user.c memory leak fix
commitfbee8d933c775cdb9daac3063659cda38c1776c2
authorVitaliy Ivanov <vitalivanov@gmail.com>
Tue, 26 Jul 2011 00:12:49 +0000 (25 17:12 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:12 +0000 (25 20:57 -0700)
tree22027a33c69747445c77cc39d1445420067f16b3
parent7fa38e7e9ead2dc7a346db10dd27a40dd83b2a26
uml: drivers/net_user.c memory leak fix

Perform memory cleanup on exit.  On receiving invalid 'pid' we still
should clean 'output' variable.

Signed-off-by: Vitaliy Ivanov <vitalivanov@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/net_user.c