FreeRDP/channels/drdynvc/client
Bernhard Miklautz f469e069dc stream: Stream_Ensure*Capacity: change return type
Change the return type of Stream_Ensure*Capacity from void to BOOL to be
able to detect realloc problems easily. Otherwise the only way to detect
this was to check if the capacity after the call was >= the required
size.
In case Stream_Ensure*Capacity fails the old memory is still available
and need to freed outside.

This commit also adds checks to most calls of Stream_Ensure*Capacity to
check if the call was successful.
2015-03-30 16:33:48 +02:00
..
CMakeLists.txt channels: fix drdynvc, patch memory leaks 2014-12-27 15:20:29 -05:00
drdynvc_main.c stream: Stream_Ensure*Capacity: change return type 2015-03-30 16:33:48 +02:00
drdynvc_main.h channels: fix drdynvc, patch memory leaks 2014-12-27 15:20:29 -05:00