diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-18 17:59:21 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-18 17:59:21 +0000 |
commit | 9a8d732a133670e8944bff0b8aabaa3d6606b72a (patch) | |
tree | 8c5ce3efffbd1bba1dd26302751d96fea73c823d /src/acl.c | |
parent | a66aae880c04355eac54f27fdb4c3e2a993e5f6e (diff) |
Changed all calls to strdup to safestrdup. This should provide better
memory usage tracking.
Diffstat (limited to 'src/acl.c')
-rw-r--r-- | src/acl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: acl.c,v 1.13 2002-04-17 20:52:45 rjkaes Exp $ +/* $Id: acl.c,v 1.14 2002-04-18 17:59:21 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 @@ -120,7 +120,7 @@ insert_acl(char *location, acl_access_t access_type) new_acl_ptr->netmask = 32; } - new_acl_ptr->location = strdup(location); + new_acl_ptr->location = safestrdup(location); if (!new_acl_ptr->location) { safefree(new_acl_ptr); return -1; |