fixed memory leak with d->inputLabel