hw/pvrdma: Check the correct return value
Return value of 0 means ok, we want to free the memory only in case of error. Signed-off-by: NYuval Shaia <yuval.shaia@oracle.com> Message-Id: <20181025061700.17050-1-yuval.shaia@oracle.com> Reviewed-by: Marcel Apfelbaum<marcel.apfelbaum@gmail.com> Signed-off-by: NMarcel Apfelbaum <marcel.apfelbaum@gmail.com>
Showing
想要评论请 注册 或 登录