libfreerdp-core: fix windows build warning

This commit is contained in:
Marc-André Moreau 2014-05-22 16:08:10 -04:00
parent c0ec800bfd
commit e8d3164f99

View File

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