diff --git a/src/frontend/plotting/plotit.c b/src/frontend/plotting/plotit.c index 6a23ad1ba..4b9257e67 100644 --- a/src/frontend/plotting/plotit.c +++ b/src/frontend/plotting/plotit.c @@ -946,6 +946,7 @@ plotit(wordlist *wl, char *hcopy, char *devname) tfree(v->v_realdata); v->v_realdata = newdata; + v->v_length = newlen; /* Why go to all this trouble if agraf ignores it? */ nointerp = TRUE;