Skip to content

Commit 1fc47e8

Browse files
committed
add oidc_cache_redis_disconnect to redis.h
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent 24afeaf commit 1fc47e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/cache/redis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ static apr_status_t oidc_cache_redis_connect(request_rec *r, oidc_cache_cfg_redi
106106
/*
107107
* free resources allocated for the per-process Redis connection context
108108
*/
109-
static apr_status_t oidc_cache_redis_disconnect(oidc_cache_cfg_redis_t *context) {
109+
apr_status_t oidc_cache_redis_disconnect(oidc_cache_cfg_redis_t *context) {
110110
if (context != NULL) {
111111
if (context->rctx != NULL) {
112112
redisFree(context->rctx);

src/cache/redis.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,4 @@ apr_byte_t oidc_cache_redis_get(request_rec *r, const char *section, const char
7777
const char **value);
7878
apr_byte_t oidc_cache_redis_set(request_rec *r, const char *section, const char *key,
7979
const char *value, apr_time_t expiry);
80+
apr_status_t oidc_cache_redis_disconnect(oidc_cache_cfg_redis_t *context);

0 commit comments

Comments
 (0)