--- iptables-1.2.11/iptables.c.free 2004-08-25 19:10:34.098917816 +0200 +++ iptables-1.2.11/iptables.c 2004-08-25 19:12:42.366228649 +0200 @@ -2344,11 +2344,11 @@ e = NULL; } - for (c = 0; c < nsaddrs; c++) - free(&saddrs[c]); + /* free the whole array - allocated with calloc */ + free(saddrs); - for (c = 0; c < ndaddrs; c++) - free(&daddrs[c]); + /* free the whole array - allocated with calloc */ + free(daddrs); if (opts != original_opts) { free(opts);