FreeRDP/channels/cliprdr/server
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
..
cliprdr_main.c stream: Stream_Ensure*Capacity: change return type 2015-03-30 16:33:48 +02:00
cliprdr_main.h
CMakeLists.txt