commit | 336c29dbbeca40543a028c731be6d5c26aeeb363 | [log] [tgz] |
---|---|---|
author | David Reiss <dreiss@apache.org> | Tue Mar 09 05:20:19 2010 +0000 |
committer | David Reiss <dreiss@apache.org> | Tue Mar 09 05:20:19 2010 +0000 |
tree | 08468c3b5e5adee97a14735944ca9b1a4f134a7f | |
parent | 8af018bf13789a48af8a49827a0d18d26925d73f [diff] |
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. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@920687 13f79535-47bb-0310-9956-ffa450edef68