Print

Print


This should fix #1400. I added a delete after a chunk buffer is copied into a python string in the conversion function for VectorReadInfo, analogous to what is done here for ChunkInfo:

xrootd/bindings/python/src/Conversions.hh

Lines 248 to 257 in 551521e

template<> struct PyDict<XrdCl::ChunkInfo>
{
static PyObject* Convert( XrdCl::ChunkInfo *chunk )
{
PyObject *o = PyBytes_FromStringAndSize( (const char*)chunk->buffer,
chunk->length );
delete[] (char*) chunk->buffer;
return o;
}
};


You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1440

Commit Summary

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/pull/1440", "url": "https://github.com/xrootd/xrootd/pull/1440", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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