omap4: rpmsg: fix a memory leak in find/del_vqs
authorMiguel Vadillo <vadillo@ti.com>
Tue, 14 Jun 2011 23:21:59 +0000 (18:21 -0500)
committerCris Jansson <cjansson@ti.com>
Mon, 29 Aug 2011 22:49:20 +0000 (17:49 -0500)
commit54627a17142f56f5933c9c6acd8d68dd11c38a54
treeecdee2b5cd4cad47daa72e1e919cf0990b38b110
parent30bbf7ae4ead45820dc49133046b2604b907fdef
omap4: rpmsg: fix a memory leak in find/del_vqs

When failing in getting the rproc, iounmap was not being
called.
Also when calling del_vqs the iounmap of rpdev->buf_mapped
was not called.

Change-Id: Ib306f7a84a9ab2410c52efff937f0726a7863071
Signed-off-by: Miguel Vadillo <vadillo@ti.com>
arch/arm/plat-omap/omap_rpmsg.c