diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-12-12 11:39:38 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-12-14 14:33:11 +0000 |
commit | 1f665efa913bf55f215ceff27ebfc9f0e0769aee (patch) | |
tree | f97d164adbfecf2501cd7bcd7c3a96618d7ca8a8 /src/plugins/bearer/qnetworksession_impl.h | |
parent | b8fab7c9f5debec9e26816b6b9581de921f90ef6 (diff) |
Q_CHECK_PTR the result of QDataBuffer's allocations
We might run out of memory or malloc() or realloc() might fail for any
other reason. We want to crash cleanly with a clear message in that
case, rather than returning a null pointer.
Change-Id: If09c1b9e905fc60a5d9d45e598a418df433cf83b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/bearer/qnetworksession_impl.h')
0 files changed, 0 insertions, 0 deletions