fix(kernel/metavar): wierd memory leak that only happens when compiling with clang++

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>