fix magic fail

SVN revision: 76763
This commit is contained in:
Mike Blumenkrantz 2012-09-17 14:25:54 +00:00
parent eaf43b6717
commit 523847cd2f
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ pulse_recv(Pulse *conn, Ecore_Fd_Handler *fdh)
ERR("Kicked!");
conn->state = PA_STATE_INIT;
ecore_main_fd_handler_del(conn->fdh);
conn->fdh = NULL;
close(conn->fd);
ecore_event_add(PULSE_EVENT_DISCONNECTED, conn, pulse_fake_free, NULL);
return NULL;