diff options
author | Robin Gareus <robin@gareus.org> | 2015-09-12 20:05:25 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-12 20:05:25 +0200 |
commit | eb998b32640e83828ff3c81eabf86fe0f319bbcd (patch) | |
tree | bd3244434808481fdeaa793fc0ed9e2cac07f74e /libs/pbd/fpu.cc | |
parent | cb6c975417bcc13a664163610fb62cfb3a0b9041 (diff) |
plug some memory leaks in libs
Diffstat (limited to 'libs/pbd/fpu.cc')
-rw-r--r-- | libs/pbd/fpu.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/pbd/fpu.cc b/libs/pbd/fpu.cc index 97e6ed59dd..33e646f744 100644 --- a/libs/pbd/fpu.cc +++ b/libs/pbd/fpu.cc @@ -129,6 +129,13 @@ FPU::instance() return _instance; } +void +FPU::destroy () +{ + delete _instance; + _instance = 0; +} + FPU::FPU () : _flags ((Flags) 0) { |