mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
shared_ptr for DatabaseStore, DatabaseLookup and DatabaseSearchReply
This commit is contained in:
parent
8f40167fe1
commit
6851644922
8 changed files with 33 additions and 35 deletions
|
@ -243,8 +243,7 @@ namespace garlic
|
|||
m_LeaseSetSubmissionTime = i2p::util::GetMillisecondsSinceEpoch ();
|
||||
// clove if our leaseSet must be attached
|
||||
auto leaseSet = CreateDatabaseStoreMsg (m_Owner->GetLeaseSet ());
|
||||
size += CreateGarlicClove (payload + size, leaseSet, false);
|
||||
DeleteI2NPMessage (leaseSet);
|
||||
size += CreateGarlicClove (payload + size, leaseSet.get (), false); //TODO
|
||||
(*numCloves)++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue