Skip to content

Commit f6e136d

Browse files
committed
Fix incorrect cleanup of cluster config
1 parent 1fc5a40 commit f6e136d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

valkey_glide_cluster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ PHP_METHOD(ValkeyGlideCluster, __construct) {
8383
free_connection_response((ConnectionResponse*) conn_resp);
8484

8585
/* Clean up temporary configuration structures */
86-
valkey_glide_cleanup_client_config(&client_config);
86+
valkey_glide_cleanup_client_config(&client_config.base);
8787
}
8888

8989
static zend_function_entry valkey_glide_cluster_methods[] = {

0 commit comments

Comments
 (0)