Before: ``` xrdcp -f --cksum adler32 "root://eosams02.cern.ch//eos/ams/Data/AMS02/2011A/RawData/1308783516?eos.ruid=0" /var/tmp/dump [1.195GB/1.195GB][100%][==================================================][102MB/s] Run: [ERROR] CheckSum error ================================================================= ==30521==ERROR: LeakSanitizer: detected memory leaks Direct leak of 24 byte(s) in 1 object(s) allocated from: #0 0x7f537cff336f in operator new(unsigned long) (/usr/lib64/libasan.so.5+0x10e36f) #1 0x7f537cac208d in XrdCksCalcadler32::New() /eos-xrootd-code/src/./XrdCks/XrdCksCalcadler32.hh:95 SUMMARY: AddressSanitizer: 24 byte(s) leaked in 1 allocation(s). ``` After the fix: ``` xrdcp -f --cksum adler32 "root://eosams02.cern.ch//eos/ams/Data/AMS02/2011A/RawData/1308783516?eos.ruid=0" /var/tmp/dump [1.195GB/1.195GB][100%][==================================================][111.3MB/s] Run: [ERROR] CheckSum error ``` You can view, comment on, or merge this pull request online at: https://github.com/xrootd/xrootd/pull/1846 -- Commit Summary -- * [XrdApps] Fix small memory leak -- File Changes -- M src/XrdApps/XrdCpConfig.cc (1) -- Patch Links -- https://github.com/xrootd/xrootd/pull/1846.patch https://github.com/xrootd/xrootd/pull/1846.diff -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/1846 You are receiving this because you are subscribed to this thread. Message ID: <[log in to unmask]> ######################################################################## 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