Print

Print


There appears to be a memory leak in Xrd/XrdConfig.cc. It probably does 
not account for significant lost memory, but memory leaks are bad form, 
so I will point it out anyway.

XrdConfig::xprotparms returns a string that is either malloced (using 
strdup) or a constant string (""). The caller does not free the string 
in question (since that could be tricky, but doable). The string does 
not appear to be saved, and so is lost.

--
Gregory J. Sharp                   email: [log in to unmask]
Wilson Synchrotron Laboratory      url: 
http://www.lepp.cornell.edu/~gregor
Dryden Rd                          ph:  +1 607 255 4882
Ithaca, NY 14853                   fax: +1 607 255 8062