mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
scanbuild fixes
This commit is contained in:
@@ -901,7 +901,10 @@ static UINT video_VideoData(VideoClientContext* context, const TSMM_VIDEO_DATA*
|
||||
frame->surfaceData, surface->format, surface->scanline,
|
||||
surface->alignedWidth, surface->alignedHeight, &rect, 1);
|
||||
if (status < 0)
|
||||
{
|
||||
VideoFrame_free(&frame);
|
||||
return CHANNEL_RC_OK;
|
||||
}
|
||||
|
||||
InterlockedIncrement(&presentation->refCounter);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user