Function libvnc_sys::rfb::rfbClientCleanup

source ·
pub unsafe extern "C" fn rfbClientCleanup(client: *mut rfbClient)
Expand description

Cleans up the client structure and releases the memory allocated for it. You should call this when you’re done with the rfbClient structure that you allocated with rfbGetClient(). @note rfbClientCleanup() does not touch client->frameBuffer. @param client The client to clean up