Fixed coverity issue 1047597
authorArmin Novak <anovak@thinstuff.com>
Wed, 28 Aug 2013 15:50:10 +0000 (17:50 +0200)
committerArmin Novak <anovak@thinstuff.com>
Thu, 5 Sep 2013 10:14:32 +0000 (12:14 +0200)
winpr/libwinpr/sspi/NTLM/ntlm_message.c

index 8b17d69..487a4d5 100644 (file)
@@ -799,6 +799,7 @@ SECURITY_STATUS ntlm_read_AuthenticateMessage(NTLM_CONTEXT* context, PSecBuffer
                        winpr_HexDump(context->MessageIntegrityCheck, 16);
                        fprintf(stderr, "Actual MIC:\n");
                        winpr_HexDump(message->MessageIntegrityCheck, 16);
+                       Stream_Free(s, FALSE);
 
                        return SEC_E_MESSAGE_ALTERED;
                }