cwIoFlow.cpp : Added an error message when create() fails.
This commit is contained in:
parent
611c198197
commit
83291dabb3
@ -362,8 +362,10 @@ cw::rc_t cw::io_flow::create( handle_t& hRef,
|
||||
|
||||
errLabel:
|
||||
if( rc != kOkRC )
|
||||
{
|
||||
rc = cwLogError(rc,"io_flow create failed.");
|
||||
_destroy(p);
|
||||
|
||||
}
|
||||
|
||||
|
||||
return rc;
|
||||
|
Loading…
Reference in New Issue
Block a user