From 741abf09ecad578608822dbd465f6ca6df078778 Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Thu, 19 Feb 2026 10:02:34 -0800 Subject: [PATCH] s/relay_/redis_/g --- library.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library.c b/library.c index 14d2c774..f7b0d4e7 100644 --- a/library.c +++ b/library.c @@ -250,7 +250,7 @@ redis_sock_free_auth(RedisSock *redis_sock) { } #if PHP_VERSION_ID < 80000 -static void relay_array_release(HashTable *ht) { +static void redis_array_release(HashTable *ht) { if (!ht || (GC_FLAGS(ht) & GC_IMMUTABLE)) { return; } @@ -260,7 +260,7 @@ static void relay_array_release(HashTable *ht) { } } #else -static inline void relay_array_release(HashTable *ht) { +static inline void redis_array_release(HashTable *ht) { zend_array_release(ht); } #endif @@ -270,7 +270,7 @@ void redis_sock_free_context(RedisSock *redis_sock) { if (redis_sock->context == NULL) return; - relay_array_release(redis_sock->context); + redis_array_release(redis_sock->context); redis_sock->context = NULL; }