HF RL Explorer

Fix memory leaks in parsmart.cpp and smartstest.cpp

Fix memory leaks in parsmart.cpp and smartstest.cpp: a task in life-science-SWE1.0 (Harbor dataset). Title: Fix memory leaks in parsmart.cpp and smartstest.cpp

The task

**Title:** Fix memory leaks in parsmart.cpp and smartstest.cpp

Part of scalingX/life-science-SWE1.0.