We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sasl_startup_function
1 parent 5b66c62 commit 09b8344Copy full SHA for 09b8344
src/libmemcached/sasl.cc
@@ -180,6 +180,7 @@ memcached_return_t memcached_sasl_authenticate_connection(memcached_instance_st
180
(void) pthread_mutex_lock(&sasl_startup_state_LOCK);
181
if (sasl_startup_state != SASL_OK) {
182
const char *sasl_error_msg = sasl_errstring(sasl_startup_state, NULL, NULL);
183
+ (void) pthread_mutex_unlock(&sasl_startup_state_LOCK);
184
return memcached_set_error(*server, MEMCACHED_AUTH_PROBLEM, MEMCACHED_AT,
185
memcached_string_make_from_cstr(sasl_error_msg));
186
}
0 commit comments