diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2017-07-03 14:32:29 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-07-03 14:32:29 +0200 |
commit | 99995b7aefca4e91a72c032852e828466e2061ae (patch) | |
tree | 5971da73853041b4d1b1707caef97a95840b8ab8 | |
parent | 645ad0756cf746c632da7af78009d6c915253fa2 (diff) | |
download | vconsole-99995b7aefca4e91a72c032852e828466e2061ae.tar.gz |
drop vanished transient domains
-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); |