Skip to content

Commit c2df652

Browse files
committed
Fix close_on_server
1 parent edd99f7 commit c2df652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqlnd/mysqlnd_ps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1795,7 +1795,7 @@ MYSQLND_METHOD_PRIVATE(mysqlnd_stmt, close_on_server)(MYSQLND_STMT * const s, bo
17951795
ret = conn->command->stmt_close(conn, stmt_id);
17961796
if (ret == FAIL) {
17971797
COPY_CLIENT_ERROR(stmt->error_info, *conn->error_info);
1798-
DBG_RETURN(FAIL);
1798+
/* Don't return early - continue with cleanup to prevent memory leaks */
17991799
}
18001800
}
18011801
}

0 commit comments

Comments
 (0)