Pull patch from the head
authoraland <aland>
Thu, 10 Jun 2004 16:57:52 +0000 (16:57 +0000)
committeraland <aland>
Thu, 10 Jun 2004 16:57:52 +0000 (16:57 +0000)
src/modules/rlm_passwd/rlm_passwd.c

index 701aed7..d5ab7cd 100644 (file)
@@ -553,6 +553,7 @@ static int passwd_authorize(void *instance, REQUEST *request)
                 *      over-write existing attributes.
                 */
                pairmove(&request->config_items, &key);
+               pairfree(&key); /* pairmove may have NOT moved it */
        }
        return RLM_MODULE_OK;