Delete code generators after using them.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:39:49 +0000 (21:39 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:39:49 +0000 (21:39 +0000)
commitc93426824974594efb0332bb26be1cd35c67a842
tree6c25bc5b7f4aa762dee4670792d83388afee2362
parent7502e0be13ca6748cb501de0c6c4eaaeba6ec499
Delete code generators after using them.

This has been leaking memory in the compiler, but it has also been
preventing the dynamic generators destructors from being called.
This can prevent a stream from being flushed properly.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665586 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/main.cc