Meh, and this:

Forgetting to remove the enum cascades slightly.




--- src/acl.cc  23 Oct 2005 11:55:32 -0000      1.316
+++ src/acl.cc  22 Apr 2006 13:44:31 -0000
@@ -428,8 +428,7 @@
         link = link->next;
     }

-    auth_match = NULL;
-    auth_match = (acl_proxy_auth_match_cache
*)memAllocate(MEM_ACL_PROXY_AUTH_MATCH);
+    auth_match = new acl_proxy_auth_match_cache();
     auth_match->matchrv = matchForCache (checklist);
     auth_match->acl_data = this;
     dlinkAddTail(auth_match, &auth_match->link, cache);
@@ -451,7 +450,7 @@
         tmplink = link;
         link = link->next;
         dlinkDelete(tmplink, cache);
-        memFree(auth_match, MEM_ACL_PROXY_AUTH_MATCH);
+       delete auth_match;
     }
 }


Cheers,
Rob

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to