Merge the zlib fix properly; back out tridge's bandaid.
[rsync/rsync.git] / zlib / infblock.c
index 58f0628..55e0eec 100644 (file)
@@ -315,7 +315,6 @@ int r;
         t = inflate_trees_dynamic(257 + (t & 0x1f), 1 + ((t >> 5) & 0x1f),
                                   s->sub.trees.blens, &bl, &bd, &tl, &td,
                                   s->hufts, z);
-        ZFREE(z, s->sub.trees.blens);
         if (t != Z_OK)
         {
           if (t == (uInt)Z_DATA_ERROR)