Created Use-after-free metric

Signed-off-by: Lucas Kanashiro <lucas-kanashiro@hotmail.com>