Skip to content

Commit c592b64

Browse files
committed
ext/dba: Fix runtime nonnull warning
1 parent 87d7822 commit c592b64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/dba/dba.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -975,11 +975,11 @@ PHP_FUNCTION(dba_close)
975975

976976
bool persistent = connection->info->flags & DBA_PERSISTENT;
977977

978-
dba_close_connection(connection);
979-
980978
if (persistent) {
981979
zend_hash_apply_with_argument(&EG(persistent_list), remove_pconnection_from_list, (void *) connection->info);
982980
}
981+
982+
dba_close_connection(connection);
983983
}
984984
/* }}} */
985985

0 commit comments

Comments
 (0)