--- zzzz-none-000/linux-2.4.17/drivers/net/zlib.c 2001-04-18 21:40:04.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/drivers/net/zlib.c 2004-11-24 13:23:27.000000000 +0000 @@ -10,7 +10,7 @@ * - added inflateIncomp and deflateOutputPending * - allow strm->next_out to be NULL, meaning discard the output * - * $Id: zlib.c,v 1.3 1997/12/23 10:47:42 paulus Exp $ + * $Id: zlib.c,v 1.1.1.1 2003/06/23 22:18:29 jharrell Exp $ */ /* @@ -3860,10 +3860,12 @@ &s->sub.trees.tb, z); if (t != Z_OK) { - ZFREE(z, s->sub.trees.blens); r = t; if (r == Z_DATA_ERROR) + { + ZFREE(z, s->sub.trees.blens); s->mode = BADB; + } LEAVE } s->sub.trees.index = 0;