fix a bug of double free
Merge branch 'master' of https://github.com/KumarRobotics/bluefox2