]> Dogcows Code - chaz/tar/blobdiff - src/diffarch.c
*** empty log message ***
[chaz/tar] / src / diffarch.c
index 735142858ef7a793c7ce5b8b3dd3e14384fa3d7c..c0814b935798bc7d4860dfcd3ed3502dc24b57e4 100644 (file)
@@ -1,5 +1,5 @@
 /* Diff files from a tar archive.
-   Copyright (C) 1988, 1992 Free Software Foundation
+   Copyright (C) 1988, 1992, 1993 Free Software Foundation
 
 This file is part of GNU Tar.
 
@@ -586,7 +586,7 @@ diff_sparse_files (filesize)
   /*   int             amt_read = 0;*/
   int size = filesize;
 
-  buf = (char *) malloc (buf_size * sizeof (char));
+  buf = (char *) ck_malloc (buf_size * sizeof (char));
 
   fill_in_sparse_array ();
 
@@ -692,7 +692,7 @@ fill_in_sparse_array ()
         * necessary
         */
   sp_array_size = 10;
-  sparsearray = (struct sp_array *) malloc (sp_array_size * sizeof (struct sp_array));
+  sparsearray = (struct sp_array *) ck_malloc (sp_array_size * sizeof (struct sp_array));
 
   /*
         * there are at most five of these structures in the header
This page took 0.020559 seconds and 4 git commands to generate.