Browse Source

line 922 removed: no automatic deletion of @xxx[par]

pre-master-46
h_vogt 17 years ago
parent
commit
f4c54eada1
  1. 3
      ChangeLog
  2. 7
      src/frontend/parse.c

3
ChangeLog

@ -1,3 +1,6 @@
2009-02-21 Holger Vogt
* parse.c:922 prevent automtic deletion of @xxx[par]
2009-02-20 Holger Vogt
* x11disp.c: allow closing of help windows with WM x-button

7
src/frontend/parse.c

@ -918,9 +918,12 @@ mksnode(char *string)
/* va: tfree v in case of @xxx[par], because vec_get created a new vec and
nobody will free it elsewhere */
if (v && v->v_name && *v->v_name=='@' && isreal(v) && v->v_realdata) {
/*if (v && v->v_name && *v->v_name=='@' && isreal(v) && v->v_realdata) {
vec_free(v);
}
} */
/* The two lines above have been commented out to prevent deletion of @xxx[par]
after execution of only a single command like plot @xxx[par] or write. We need to
monitor if this will lead to excessive memory usage. h_vogt 090221 */
return (p);
}

Loading…
Cancel
Save