commit | 8e96bee4703f792e8542c259cea2abf11bc0dfba | [log] [tgz] |
---|---|---|
author | Bart De Schuymer <bdschuym@pandora.be> | Wed Aug 27 16:59:39 2003 +0000 |
committer | Bart De Schuymer <bdschuym@pandora.be> | Wed Aug 27 16:59:39 2003 +0000 |
tree | 43dbc13094e20ee7ad9b821868b0b78370debead | |
parent | 3a339f2f44bce4f464cb1b3b9f2b96fd8cb6f21f [diff] |
"out of memory" bug fix
diff --git a/communication.c b/communication.c index d4b1c4d..4d02b05 100644 --- a/communication.c +++ b/communication.c
@@ -623,9 +623,9 @@ if (repl->nentries) { counters = (struct ebt_counter *) malloc(repl->nentries * sizeof(struct ebt_counter)); + repl->counters = sparc_cast counters; if (!repl->counters) print_memory(); - repl->counters = sparc_cast counters; } else repl->counters = sparc_cast NULL; /* copy entries and counters */