Closed bjosv closed 1 month ago
When valkeyAsyncFormattedCommand() fail to push a given callback to its internal queue we need to free the cluster_async_data used in the cluster part (as privdata). Additionally; keep the error message from valkeyAsyncFormattedCommand().
valkeyAsyncFormattedCommand()
cluster_async_data
This is the corresponding fix to https://github.com/Nordix/hiredis-cluster/pull/234 .
When
valkeyAsyncFormattedCommand()
fail to push a given callback to its internal queue we need to free thecluster_async_data
used in the cluster part (as privdata). Additionally; keep the error message fromvalkeyAsyncFormattedCommand()
.This is the corresponding fix to https://github.com/Nordix/hiredis-cluster/pull/234 .