We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45ae357 + b498b23 commit b41ee37Copy full SHA for b41ee37
ibase_query.c
@@ -156,7 +156,7 @@ static void _php_ibase_free_result(zend_resource *rsrc) /* {{{ */
156
_php_ibase_free_xsqlda(ib_result->out_sqlda);
157
if (ib_result->stmt_res != NULL) {
158
zend_list_delete(ib_result->stmt_res);
159
- ib_result->stmt_res == NULL;
+ ib_result->stmt_res = NULL;
160
}
161
efree(ib_result);
162
@@ -175,7 +175,7 @@ static void _php_ibase_free_query(ibase_query *ib_query) /* {{{ */
175
176
if (ib_query->stmt_res != NULL) {
177
zend_list_delete(ib_query->stmt_res);
178
- ib_query->stmt_res == NULL;
+ ib_query->stmt_res = NULL;
179
180
if (ib_query->in_array) {
181
efree(ib_query->in_array);
0 commit comments