plug some memory leaks in libs
[ardour.git] / libs / pbd / fpu.cc
index 97e6ed59dd209d92377f20f481e9c547876cdecb..33e646f7440ca07c0df0d3ebf2a51c047b6d16b7 100644 (file)
@@ -129,6 +129,13 @@ FPU::instance()
        return _instance;
 }
 
+void
+FPU::destroy ()
+{
+       delete _instance;
+       _instance = 0;
+}
+
 FPU::FPU ()
        : _flags ((Flags) 0)
 {