Skip to content

Commit 197a455

Browse files
authored
sqlite3: remove nonsensical return_value dtor (php#20360)
1 parent c1e7f08 commit 197a455

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/sqlite3/sqlite3.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1916,7 +1916,6 @@ PHP_METHOD(SQLite3Stmt, __construct)
19161916
errcode = sqlite3_prepare_v2(db_obj->db, ZSTR_VAL(sql), ZSTR_LEN(sql), &(stmt_obj->stmt), NULL);
19171917
if (errcode != SQLITE_OK) {
19181918
php_sqlite3_error(db_obj, errcode, "Unable to prepare statement: %s", sqlite3_errmsg(db_obj->db));
1919-
zval_ptr_dtor(return_value);
19201919
RETURN_FALSE;
19211920
}
19221921
stmt_obj->initialised = true;

0 commit comments

Comments
 (0)