/[pspp]/pspp/src/print.c
ViewVC logotype

Diff of /pspp/src/print.c

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

revision 1.15 by blp, Mon Nov 15 09:51:22 2004 UTC revision 1.16 by blp, Mon Jan 24 07:05:36 2005 UTC
# Line 977  print_trns_proc (struct trns_header * tr Line 977  print_trns_proc (struct trns_header * tr
977  static void  static void
978  print_trns_free (struct trns_header * t)  print_trns_free (struct trns_header * t)
979  {  {
980      struct print_trns *prt = (struct print_trns *) t;
981    struct prt_out_spec *i, *n;    struct prt_out_spec *i, *n;
982    
983    for (i = ((struct print_trns *) t)->spec; i; i = n)    for (i = prt->spec; i; i = n)
984      {      {
985        switch (i->type)        switch (i->type)
986          {          {
# Line 998  print_trns_free (struct trns_header * t) Line 999  print_trns_free (struct trns_header * t)
999        n = i->next;        n = i->next;
1000        free (i);        free (i);
1001      }      }
1002    free (((struct print_trns *) t)->line);    if (prt->writer != NULL)
1003        dfm_close_writer (prt->writer);
1004      free (prt->line);
1005  }  }
1006    
1007  /* PRINT SPACE. */  /* PRINT SPACE. */

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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