]> git.sur5r.net Git - openldap/commitdiff
ITS#4912 fix typo in prev commit
authorHoward Chu <hyc@openldap.org>
Thu, 5 Apr 2007 00:16:17 +0000 (00:16 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 5 Apr 2007 00:16:17 +0000 (00:16 +0000)
libraries/libldap_r/tpool.c

index 1df006ae2202140c03044a47391f689f4dce6c8d..1c564e37a596dc28d362557121c567e1d7613f72 100644 (file)
@@ -840,9 +840,9 @@ int ldap_pvt_thread_pool_setkey(
                                        ctx->ltu_key[i].ltk_data = ctx->ltu_key[j].ltk_data;
                                        ctx->ltu_key[i].ltk_free = ctx->ltu_key[j].ltk_free;
                                }
-                               ctx->ltu_key[i].ltk_key = NULL;
-                               ctx->ltu_key[i].ltk_data = NULL;
-                               ctx->ltu_key[i].ltk_free = NULL;
+                               ctx->ltu_key[j].ltk_key = NULL;
+                               ctx->ltu_key[j].ltk_data = NULL;
+                               ctx->ltu_key[j].ltk_free = NULL;
                        }
                        return 0;
                }