pointerdetector2: Avoid problems with released memory
pointerdetector2: Avoid problems with released memory

Change-Id: I6cc1f2553d35f6f686cb808aeeb8b3a93ef2f941

TribeMedia/kms-core,KurentoLegacy/gst-kurento-plugins,Kurento/kms-core,Kurento/kms-core,Kurento/kms-core,KurentoLegacy/gst-kurento-plugins,Kurento/kms-core,TribeMedia/kms-core,TribeMedia/kms-core,TribeMedia/kms-core,shelsonjava/kms-core,ESTOS/kms-core,ESTOS/kms-core,KurentoLegacy/gst-kurento-plugins,ESTOS/kms-core,KurentoLegacy/gst-kurento-plugins,shelsonjava/kms-core,shelsonjava/kms-core,shelsonjava/kms-core,ESTOS/kms-core