projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5144fb3
)
Deallocate config instance when necessary, to avoid memory leak when in
author
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 20:05:10 +0000
(20:05 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 20:05:10 +0000
(20:05 -0000)
prefetch mode. (trunk r15311)
svn path=/main/branches/2.1.7/; revision=15546
pym/_emerge/EbuildFetcher.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/EbuildFetcher.py
b/pym/_emerge/EbuildFetcher.py
index ba282081e39c285cfb475a6b49fff804bc1541dd..b8931df1586fb3a30c6ba2c61c4d67dec7fe2552 100644
(file)
--- a/
pym/_emerge/EbuildFetcher.py
+++ b/
pym/_emerge/EbuildFetcher.py
@@
-73,6
+73,9
@@
class EbuildFetcher(SpawnProcess):
self.args = fetch_args
self.env = fetch_env
+ if self._build_dir is None:
+ # Free settings now since we only have a local reference.
+ self.config_pool.deallocate(settings)
SpawnProcess._start(self)
def _pipe(self, fd_pipes):