diff options
author | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2016-04-19 09:33:27 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> | 2016-04-19 17:53:48 +0000 |
commit | d31bc5cbf9ac8abba82aec6d8974cf74ee3d2faa (patch) | |
tree | 3daebc87c14de2c0b0c146695472265cb1bf91b7 /src/network/access/qnetworkreply_p.h | |
parent | cc1a28d07e0771300403c06a00742b8648d3f70d (diff) |
QNetworkReplyImplPrivate - potential nullptr dereference
Found by Coverity, CID 11351. If we check 'if (backend)' at one line,
not clear why we do 'if (bakcend->canResume())' two lines above without any test.
Also, 'delete backend' is noop if backend is nullptr, so ...
even this 'if (backend)' is ... not needed.
Change-Id: I7a46ce04baeb9251debb7b246954911df58880ca
Reviewed-by: Edward Welbourne <edward.welbourne@theqtcompany.com>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
Diffstat (limited to 'src/network/access/qnetworkreply_p.h')
0 files changed, 0 insertions, 0 deletions