]> mj.ucw.cz Git - libucw.git/blobdiff - lib/sorter.h
Moved shell script support commands to lib/shell.
[libucw.git] / lib / sorter.h
index bf0e5b962ab937fb0b291f968383b4557aec7d1d..e40ea66eff49b01a72657c7378fe1f183c094960 100644 (file)
@@ -2,6 +2,9 @@
  *     Sherlock Library -- Universal Sorter
  *
  *     (c) 2001--2002 Martin Mares <mj@ucw.cz>
  *     Sherlock Library -- Universal Sorter
  *
  *     (c) 2001--2002 Martin Mares <mj@ucw.cz>
+ *
+ *     This software may be freely distributed and used according to the terms
+ *     of the GNU Lesser General Public License.
  */
 
 /*
  */
 
 /*
@@ -345,6 +348,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);
        (out2 ? (int)((btell(out2) + 1023) / 1024) : 0));
   *fb1 = P(flush_out)(out1);
   *fb2 = P(flush_out)(out2);
+  xfree(buffer);
 }
 
 #endif         /* SORT_PRESORT */
 }
 
 #endif         /* SORT_PRESORT */