/[tar]/tar/src/tar.c
ViewVC logotype

Diff of /tar/src/tar.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.74 by gray, Thu Nov 13 22:27:44 2003 UTC revision 1.75 by gray, Mon Nov 17 07:38:38 2003 UTC
# Line 1510  main (int argc, char **argv) Line 1510  main (int argc, char **argv)
1510  }  }
1511    
1512  void  void
1513  destroy_stat (struct tar_stat_info *st)  tar_stat_init (struct tar_stat_info *st)
1514    {
1515      memset (st, 0, sizeof (*st));
1516    }
1517        
1518    void
1519    tar_stat_destroy (struct tar_stat_info *st)
1520  {  {
1521    free (st->orig_file_name);    free (st->orig_file_name);
1522    free (st->file_name);    free (st->file_name);
1523    free (st->link_name);    free (st->link_name);
1524    free (st->uname);    free (st->uname);
1525    free (st->gname);    free (st->gname);
1526      free (st->sparse_map);
1527    memset (st, 0, sizeof (*st));    memset (st, 0, sizeof (*st));
1528  }  }
1529    

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26