src/temporal/resampler.c: safer new_ and del_