To get this branch, use:
bzr branch
http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
« back to all changes in this revision
Viewing changes to bzrlib/_bencode_pyx.pyx
-
Committer:
John Arbash Meinel
-
Date:
2009-12-18 21:58:32 UTC
-
mto:
(4634.108.5 2.0)
-
mto:
This revision was merged to the branch mainline in
revision
4928.
-
Revision ID:
john@arbash-meinel.com-20091218215832-ou5naixonrr1gnbg
bencode.Encoder should use __dealloc__ to free C level resources.
Show diffs side-by-side
added
removed
261
261
self.maxsize = maxsize
264
def __dealloc__(self):
265
265
free(self.buffer)
266
266
self.buffer = NULL