Free windows structures in pointer detector filters

Change-Id: I470708714c8f758a60a5ccf478655131effe0a9b