mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
prevented turtle to not deleting a config item when it is not cast
This commit is contained in:
parent
e9fa9eb317
commit
5261c3cd73
@ -205,7 +205,8 @@ private:
|
||||
void receiveStateString(const RsPeerId& id,const std::string& s) ;
|
||||
|
||||
/// methods for handling various Chat items.
|
||||
bool handleRecvChatMsgItem(RsChatMsgItem *&item) ; // NULL-ifies the item if memory ownership is taken
|
||||
virtual bool handleRecvChatMsgItem(RsChatMsgItem *&item) ; // NULL-ifies the item if memory ownership is taken
|
||||
|
||||
void handleRecvChatStatusItem(RsChatStatusItem *item) ;
|
||||
void handleRecvChatAvatarItem(RsChatAvatarItem *item) ;
|
||||
|
||||
|
@ -726,7 +726,7 @@ bool p3turtle::loadList(std::list<RsItem*>& load)
|
||||
}
|
||||
}
|
||||
|
||||
delete vitem ;
|
||||
delete *it ;
|
||||
}
|
||||
load.clear() ;
|
||||
return true ;
|
||||
|
Loading…
Reference in New Issue
Block a user