We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f1fc0a commit b776c38Copy full SHA for b776c38
mysql/qsql_mysql.cpp
@@ -428,7 +428,7 @@ void QMYSQLResult::cleanup()
428
}
429
430
for (const auto &field : qAsConst(d->fields)) {
431
- if (qIsTimeOrDate(field.myField->type))
+ if (field.myField!=nullptr&& qIsTimeOrDate(field.myField->type))
432
reinterpret_cast<MYSQL_TIME *>(field.outField)->~MYSQL_TIME();
433
delete[] field.outField;
434
0 commit comments