diff options
-rw-r--r-- | ext/pdo_sqlite/sqlite_driver.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/pdo_sqlite/sqlite_driver.c b/ext/pdo_sqlite/sqlite_driver.c index 5292f98371..637d93c502 100644 --- a/ext/pdo_sqlite/sqlite_driver.c +++ b/ext/pdo_sqlite/sqlite_driver.c @@ -130,9 +130,8 @@ static void pdo_sqlite_cleanup_callbacks(pdo_sqlite_db_handle *H TSRMLS_DC) efree(func); } - struct pdo_sqlite_collation *collation; - while (H->collations) { + struct pdo_sqlite_collation *collation; collation = H->collations; H->collations = collation->next; |