Fixed coverity issue 1047617
authorArmin Novak <anovak@thinstuff.com>
Wed, 28 Aug 2013 14:26:11 +0000 (16:26 +0200)
committerArmin Novak <anovak@thinstuff.com>
Thu, 5 Sep 2013 10:14:31 +0000 (12:14 +0200)
libfreerdp/core/gateway/rpc.c

index 3e6f68b..ae024cd 100644 (file)
@@ -433,6 +433,7 @@ int rpc_write(rdpRpc* rpc, BYTE* data, int length, UINT16 opnum)
        if (encrypt_status != SEC_E_OK)
        {
                fprintf(stderr, "EncryptMessage status: 0x%08X\n", encrypt_status);
+               free(request_pdu);
                return -1;
        }