projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cc43af
)
- fix memory leak
author
Michael Schroeder
<mls@suse.de>
Tue, 3 Aug 2010 13:20:59 +0000
(15:20 +0200)
committer
Michael Schroeder
<mls@suse.de>
Tue, 3 Aug 2010 13:20:59 +0000
(15:20 +0200)
zypp/media/MediaMultiCurl.cc
patch
|
blob
|
history
diff --git
a/zypp/media/MediaMultiCurl.cc
b/zypp/media/MediaMultiCurl.cc
index cb1f70bed00c0c716ea6a3799ae2ae98be82221f..a9b0d3d49e7c3e87dcff9c148f298243ae19a412 100644
(file)
--- a/
zypp/media/MediaMultiCurl.cc
+++ b/
zypp/media/MediaMultiCurl.cc
@@
-392,6
+392,9
@@
multifetchworker::~multifetchworker()
close(_dnspipe);
_dnspipe = -1;
}
+ // the destructor in MediaCurl doesn't call disconnect() if
+ // the media is not attached, so we do it here manually
+ disconnectFrom();
}
static inline bool env_isset(string name)