Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Secsss] Fix mismatched new/free in XrdSecsssID::~XrdSecsssID()
The defaultID is created with defaultID = new XrdSecsssEnt(...); so it cannot be deallocated with free(defaultID). Since the destructor is private, we cannot call delete defaultID either. We must call the specific function for this, which is defaultID->Delete(), which in turn will call delete instead of free to deallocate the memory.
- Loading branch information