[sr-dev] git:carstenbock/ims: - several bug-fixes after testing (a memory leak, some logical bugs)