Project

General

Profile

« Previous | Next » 

Revision 86854b27

Added by David Doose almost 5 years ago

adding dealloc

View differences:

src/backends/C/c_backend_mauve.ml
160 160
  (* Cleanup *)
161 161
  fprintf fmt "\tvoid cleanup_hook() override {@.";
162 162
  fprintf fmt "\t\t%s_reset(node);@." node_name;
163
  fprintf fmt "\t\tfree(node);@.";
163
  fprintf fmt "\t\t%s_dealloc(node);@." node_name;
164 164
  fprintf fmt "\t}@.";
165 165
  fprintf fmt "};@.";
166 166
  pp_print_newline fmt ()

Also available in: Unified diff