=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/notify.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/tmux/notify.c 2015/04/24 23:17:11 1.6 +++ src/usr.bin/tmux/notify.c 2015/06/05 18:06:30 1.7 @@ -1,4 +1,4 @@ -/* $OpenBSD: notify.c,v 1.6 2015/04/24 23:17:11 nicm Exp $ */ +/* $OpenBSD: notify.c,v 1.7 2015/06/05 18:06:30 nicm Exp $ */ /* * Copyright (c) 2012 George Nachman @@ -121,7 +121,7 @@ } if (ne->client != NULL) - ne->client->references--; + server_client_unref(ne->client); if (ne->session != NULL) ne->session->references--; if (ne->window != NULL)