X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fiface-graphics-console.c;h=6744cfd5bcc04b279bebb89374758433873ae496;hb=e8ee9e1536b3fa2e69f5537a90f5e034e9529248;hp=a29533e20462aaa87bcdeb9c967110e439c7cb9e;hpb=928297a7cf5ffbf3a210fcaf7556e681bbb436d5;p=palacios.git diff --git a/linux_module/iface-graphics-console.c b/linux_module/iface-graphics-console.c index a29533e..6744cfd 100644 --- a/linux_module/iface-graphics-console.c +++ b/linux_module/iface-graphics-console.c @@ -475,10 +475,14 @@ static int graphics_console_guest_deinit(struct v3_guest * guest, void * vm_data list_del(&(graphics_cons->gcons_node)); + remove_guest_ctrl(guest, V3_VM_FB_INPUT); + remove_guest_ctrl(guest, V3_VM_FB_QUERY); + if (graphics_cons->data) { palacios_vfree(graphics_cons->data); } + palacios_free(graphics_cons); return 0;