QCache in ContentProvider handles cleanup for ThreadModel. Setting NeoChatRoom as parent for ThreadModel caused it to be deleted outside of QCache control leading to a double-free.