diff --git a/libfreerdp/codec/nsc.c b/libfreerdp/codec/nsc.c index b674548d5..d0547cd33 100644 --- a/libfreerdp/codec/nsc.c +++ b/libfreerdp/codec/nsc.c @@ -383,6 +383,7 @@ BOOL nsc_process_message(NSC_CONTEXT* context, UINT16 bpp, break; default: + Stream_Free(s, TRUE); return FALSE; }