Leaks when using filedb in device server
During our asan tests, I spotted these two leaks when using the "-file" commandline option for device servers:
Direct leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x6149ed in operator new(unsigned long) (/scratch/dragon/build/ChimeraTK-ControlSystemAdapter-TangoAdapter-asan/testTangoServerMapTwice+0x6149ed)
#1 0x7f699b8dd046 in Tango::FileDatabase::DbPutDeviceAttributeProperty(CORBA::Any&) (/scratch/dragon/install-asan/lib/libtango.so.9+0x332046)
Direct leak of 40 byte(s) in 1 object(s) allocated from:
#0 0x6149ed in operator new(unsigned long) (/scratch/dragon/build/ChimeraTK-ControlSystemAdapter-TangoAdapter-asan/testTangoServerMapTwice+0x6149ed)
#1 0x7f699b8dc719 in Tango::FileDatabase::DbDeleteDeviceProperty(CORBA::Any&) (/scratch/dragon/install-asan/lib/libtango.so.9+0x331719)
It looks like that the CORBA::Any that is returned from these functions is never freed.