Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

void mpd_async_free ( struct mpd_async async  ) 

Closes the socket and frees memory.

Definition at line 88 of file async.c.

References mpd_async::error, mpd_async::fd, and mpd_async_free().

Referenced by mpd_async_free(), and mpd_connection_free().

{
      assert(async != NULL);

      closesocket(async->fd);
      mpd_error_deinit(&async->error);
      free(async);
}


Generated by  Doxygen 1.6.0   Back to index