xen/fb: fix potential memory leak
This patch fixes a potential memory leak when xenfb connect to the backend fails. Thanks for Ian's review and comments. [v2: reworded the commit message a bit] Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: NJoe Jin <joe.jin@oracle.com> Tested-by: NGurudas Pai <gurudas.pai@oracle.com> Acked-by: NIan Campbell <ian.campbell@citrix.com> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: Andrew Morton <akpm@linux-foundation.org>
Showing
想要评论请 注册 或 登录