[channels,rdpecam] fix redundant-control-flow
This commit is contained in:
parent
fa21806734
commit
9eeeef6976
@ -795,5 +795,4 @@ void ecam_dev_destroy(CameraDevice* dev)
|
||||
ecam_dev_stop_stream(dev, i);
|
||||
|
||||
free(dev);
|
||||
return;
|
||||
}
|
||||
|
@ -330,7 +330,6 @@ static void cam_v4l_stream_free_buffers(CamV4lStream* stream)
|
||||
free(stream->buffers);
|
||||
stream->buffers = NULL;
|
||||
stream->nBuffers = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -693,8 +692,6 @@ void cam_v4l_stream_free(void* obj)
|
||||
|
||||
DeleteCriticalSection(&stream->lock);
|
||||
free(stream);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user