projects
/
metaproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f255e4
)
Fix leak in Package::copy_filter
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 1 Aug 2006 13:03:41 +0000
(13:03 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 1 Aug 2006 13:03:41 +0000
(13:03 +0000)
src/package.cpp
patch
|
blob
|
history
diff --git
a/src/package.cpp
b/src/package.cpp
index
b438adb
..
3b00ca8
100644
(file)
--- a/
src/package.cpp
+++ b/
src/package.cpp
@@
-1,4
+1,4
@@
-/* $Id: package.cpp,v 1.9 2006-06-19 23:54:02 adam Exp $
+/* $Id: package.cpp,v 1.10 2006-08-01 13:03:41 adam Exp $
Copyright (c) 2005-2006, Index Data.
See the LICENSE file for details
@@
-28,6
+28,7
@@
mp::Package::Package(mp::Session &session, const mp::Origin &origin)
mp::Package & mp::Package::copy_filter(const Package &p)
{
+ delete m_route_pos;
m_route_pos = p.m_route_pos->clone();
return *this;
}