From: wessels <> Date: Sun, 15 Sep 1996 14:04:57 +0000 (+0000) Subject: initialize some ptrs to NULL X-Git-Tag: SQUID_3_0_PRE1~5793 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06c55413154d2edab8343a5564a01a0a482c6058;p=thirdparty%2Fsquid.git initialize some ptrs to NULL --- diff --git a/src/acl.cc b/src/acl.cc index df60f70827..579672c272 100644 --- a/src/acl.cc +++ b/src/acl.cc @@ -1,5 +1,5 @@ /* - * $Id: acl.cc,v 1.36 1996/09/15 05:04:11 wessels Exp $ + * $Id: acl.cc,v 1.37 1996/09/15 08:04:57 wessels Exp $ * * DEBUG: section 28 Access Control * AUTHOR: Duane Wessels @@ -832,7 +832,7 @@ aclCheck(struct _acl_access *A, aclCheck_t * checklist) static void aclDestroyIpList(struct _acl_ip_data *data) { - struct _acl_ip_data *next; + struct _acl_ip_data *next = NULL; for (; data; data = next) { next = data->next; safe_free(data); @@ -842,7 +842,7 @@ aclDestroyIpList(struct _acl_ip_data *data) static void aclDestroyTimeList(struct _acl_time_data *data) { - struct _acl_time_data *next; + struct _acl_time_data *next = NULL; for (; data; data = next) { next = data->next; safe_free(data); @@ -852,7 +852,7 @@ aclDestroyTimeList(struct _acl_time_data *data) static void aclDestroyRegexList(struct _relist *data) { - struct _relist *next; + struct _relist *next = NULL; for (; data; data = next) { next = data->next; regfree(&data->regex);