Fix memory leak in indexUnchanged hint mechanism.