Re: [PATCH] smoke: fix valgrind invalid read errors

2014-11-11 Thread Pekka Paalanen
On Tue, 28 Oct 2014 10:50:18 + Frank Binns wrote: > There are a number of invalid read errors reported by valgrind of the > form: > ==13428== Invalid read of size 4 > ==13428==at 0x405656: advect (smoke.c:116) > ==13428==by 0x405E80: redraw_handler (smoke.c:228)

[PATCH] smoke: fix valgrind invalid read errors

2014-10-28 Thread Frank Binns
There are a number of invalid read errors reported by valgrind of the form: ==13428== Invalid read of size 4 ==13428==at 0x405656: advect (smoke.c:116) ==13428==by 0x405E80: redraw_handler (smoke.c:228) ==13428==by 0x40DE74: widget_redraw (window.c:3995)