Follow-up Comment #4, bug #98193 (project xrootd): Got it. Badly written class. Now, I propose the following minimum change: char *Path() { return strdup(XClient->GetCurrentUrl().GetUrl().c_str()); } Of course, you will now have to free the storage after obtaining the path. I checked and no one is currently using this function. Anyway, my bigger concern is that you are using an internal class which is not supported. That aside, thank you for pointing out the problem. Nonetheless, you shouldn't use that class. _______________________________________________________ Reply to this item at: <http://savannah.cern.ch/bugs/?98193> _______________________________________________ Message sent via/by LCG Savannah http://savannah.cern.ch/ ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1