diff options
Diffstat (limited to 'domain.c')
-rw-r--r-- | domain.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -620,7 +620,11 @@ void domain_update(struct vconsole_connect *conn, } /* update guest info */ - domain_update_info(dom, d); + if (domain_update_info(dom, d) != 0) { + gtk_tree_store_remove(conn->win->store, &guest); + domain_free(dom); + return; + } /* update tree store cols */ domain_update_tree_store(dom, &guest); |