The RpcFinally block must always be executed. Otherwise, RPC code will leak allocated buffer memory.

svn path=/trunk/; revision=17313
This commit is contained in:
Eric Kohl 2005-08-11 20:45:41 +00:00
parent e9beb0d3eb
commit 7b869f437f

View file

@ -59,7 +59,7 @@ typedef long RPC_STATUS;
#define RpcExcept(x) } else {
#define RpcEndExcept }
#define RpcTryFinally if (1) {
#define RpcFinally } else {
#define RpcFinally } if (1) {
#define RpcEndFinally }
#define RpcExceptionCode() 0
#define RpcAbnormalTermination() AbnormalTermination()