libfreerdp-core: fix build on Windows

This commit is contained in:
Marc-André Moreau 2014-05-30 15:29:06 -04:00
parent 98077cfc24
commit c5e4c74bb6

View File

@ -579,10 +579,8 @@ rdpTcp* tcp_new(rdpSettings* settings)
#endif
return tcp;
#ifndef _WIN32
out_ringbuffer:
ringbuffer_destroy(&tcp->xmitBuffer);
#endif
out_free:
free(tcp);
return NULL;