free user_reply structure, to prevent memory leaks.
authoraland <aland>
Wed, 5 Apr 2000 19:33:50 +0000 (19:33 +0000)
committeraland <aland>
Wed, 5 Apr 2000 19:33:50 +0000 (19:33 +0000)
src/main/auth.c

index 97dfe47..a9cb360 100644 (file)
@@ -374,7 +374,8 @@ int rad_authenticate(REQUEST *request)
         */
        if ((request->proxy == NULL) &&
            (pairfind(request->config_items, PW_PROXY_TO_REALM) != NULL)) {
-                 return 0;
+               pairfree(user_reply);
+               return 0;
        }
 
        /*