summaryrefslogtreecommitdiffhomepage
path: root/src/acl.c
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2000-09-26 04:57:46 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2000-09-26 04:57:46 +0000
commitfd61e791b5c199efe843ad7e913718643042a219 (patch)
tree7b73169c91f7b4bc16a6965f83c50da6ee587621 /src/acl.c
parent1ad48fd906d5647a2569c0b1b3c01e883a90c1c7 (diff)
Updated the free() calls to the safefree() calls.
Diffstat (limited to 'src/acl.c')
-rw-r--r--src/acl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/acl.c b/src/acl.c
index 88f25b2..60ad82e 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -1,4 +1,4 @@
-/* $Id: acl.c,v 1.1 2000-09-12 00:08:48 rjkaes Exp $
+/* $Id: acl.c,v 1.2 2000-09-26 04:57:46 rjkaes Exp $
*
* This system handles Access Control for use of this daemon. A list of
* domains, or IP addresses (including IP blocks) are stored in a list
@@ -107,7 +107,7 @@ int insert_acl(char *location, acl_access_t access_type)
new_acl_ptr->netmask = atoi(nptr);
if (new_acl_ptr->netmask < 0 || new_acl_ptr->netmask > 32) {
- free(new_acl_ptr);
+ safefree(new_acl_ptr);
return -1;
}
} else {
@@ -120,7 +120,7 @@ int insert_acl(char *location, acl_access_t access_type)
new_acl_ptr->location = strdup(location);
if (!new_acl_ptr->location) {
- free(new_acl_ptr);
+ safefree(new_acl_ptr);
return -1;
}