Permalink
Browse files

Bugfix and typo.

  • Loading branch information...
1 parent 18a2d36 commit 126812026deced3787c201a33795bae608f24575 @nicolasff nicolasff committed Dec 3, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 redis_session.c
View
@@ -80,6 +80,7 @@ PHPAPI void
redis_pool_free(redis_pool *pool TSRMLS_DC) {
redis_pool_member *rpm, *next;
+ rpm = pool->head;
while(rpm) {
next = rpm->next;
redis_sock_disconnect(rpm->redis_sock);
@@ -322,7 +323,7 @@ PS_DESTROY_FUNC(redis)
return FAILURE;
}
- /* send SET command */
+ /* send DEL command */
session = redis_session_key(key, strlen(key), &session_len);
cmd_len = redis_cmd_format_static(&cmd, "DEL", "s", session, session_len);
efree(session);

0 comments on commit 1268120

Please sign in to comment.