commit | a02c37891a9b2d7ce93f9d09455b4f67c4c23b95 | [log] [tgz] |
---|---|---|
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | Thu May 27 19:03:56 2010 +0900 |
committer | Michael S. Tsirkin <mst@redhat.com> | Thu May 27 13:55:17 2010 +0300 |
tree | 0d2b9b630a2ff0dab8fda16008762bcaa223ca93 | |
parent | d3553a52490dcac54f45083f8fa018e26c22e947 [diff] |
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 <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>