Fixed segfault on cleanup when OSS doesn't initialise correctly.