fix memory track free return warning