Fixed a memory leak in mblcontrol.cpp