From: Takuya Yoshikawa Date: Thu, 27 May 2010 10:03:56 +0000 (+0900) Subject: vhost: fix the memory leak which will happen when memory_access_ok fails X-Git-Tag: v2.6.35-rc1~24^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a02c37891a9b2d7ce93f9d09455b4f67c4c23b95;p=pandora-kernel.git vhost: fix the memory leak which will happen when memory_access_ok fails We need to free newmem when vhost_set_memory() fails to complete. Signed-off-by: Takuya Yoshikawa Signed-off-by: Michael S. Tsirkin --- Reading git-diff-tree failed