I can confirm the memory leak and it is indeed introduced in revision #1638. The memory leak is due to never releasing ShareManager::Directory objects. A simple printf("Deleting Directory: %s\n", name.c_str()); in the Directory destructor proves this.
I can confirm the memory leak and it is indeed introduced in revision #1638. The memory leak is due to never releasing ShareManager: :Directory objects. A simple printf("Deleting Directory: %s\n", name.c_str()); in the Directory destructor proves this.