Change deref to the more sensible unref, and add a couple I missed before.

This commit is contained in:
nicm
2015-06-05 18:06:30 +00:00
parent 8c93b768e4
commit 10e90ae01f
6 changed files with 8 additions and 8 deletions

View File

@@ -121,7 +121,7 @@ notify_drain(void)
}
if (ne->client != NULL)
ne->client->references--;
server_client_unref(ne->client);
if (ne->session != NULL)
ne->session->references--;
if (ne->window != NULL)