Browse Source

inp.c, plug memory leak

pre-master-46
h_vogt 10 years ago
committed by rlar
parent
commit
6535558f9e
  1. 7
      src/frontend/inp.c

7
src/frontend/inp.c

@ -975,10 +975,9 @@ inp_dodeck(
ct->ci_inprogress = FALSE;
ct->ci_runonce = FALSE;
ct->ci_commands = end;
if (filename)
ct->ci_filename = copy(filename);
else
ct->ci_filename = NULL;
if (reuse)
tfree(ct->ci_filename);
ct->ci_filename = copy(filename);
if (!noparse) {
/*

Loading…
Cancel
Save