From: Martin Mares Date: Wed, 17 Jul 2002 02:34:43 +0000 (+0000) Subject: Oops, a memory leak in the presorter. X-Git-Tag: holmes-import~1378 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=f802ad987cbc5667a21345a0aa9fd95c81c2741d;p=libucw.git Oops, a memory leak in the presorter. --- diff --git a/lib/sorter.h b/lib/sorter.h index bf0e5b96..6ce1a6c8 100644 --- a/lib/sorter.h +++ b/lib/sorter.h @@ -345,6 +345,7 @@ P(presort)(struct fastbuf **fb1, struct fastbuf **fb2) (out2 ? (int)((btell(out2) + 1023) / 1024) : 0)); *fb1 = P(flush_out)(out1); *fb2 = P(flush_out)(out2); + xfree(buffer); } #endif /* SORT_PRESORT */