/[Apache-SVN]
ViewVC logotype

Revision 920687


Jump to revision: Previous Next
Author: dreiss
Date: Tue Mar 9 05:20:19 2010 UTC (14 years, 1 month ago)
Changed paths: 2
Log Message:
cpp: Prevent TFileTransport seekToEnd from leaking memory

In seekToEnd we loop on readEvent to skip through the last chunk, but
the complete events returned are disowned by readState_ and therefore
must be freed by the caller.

Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TFileTransport.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26