mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-19 11:54:22 -04:00
Remove miguiding if before delete
This commit is contained in:
parent
02424240a0
commit
03cc2e629d
1 changed files with 4 additions and 3 deletions
|
@ -280,9 +280,10 @@ class RsNxsGrp : public RsNxsItem
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
RsNxsGrp(uint16_t servtype) : RsNxsItem(servtype, RS_PKT_SUBTYPE_NXS_GRP_ITEM), grp(servtype), meta(servtype),
|
RsNxsGrp(uint16_t servtype) :
|
||||||
metaData(NULL) { clear();}
|
RsNxsItem(servtype, RS_PKT_SUBTYPE_NXS_GRP_ITEM), grp(servtype),
|
||||||
virtual ~RsNxsGrp() { if(metaData) delete metaData; }
|
meta(servtype), metaData(NULL) { clear(); }
|
||||||
|
virtual ~RsNxsGrp() { delete metaData; }
|
||||||
|
|
||||||
RsNxsGrp* clone() const;
|
RsNxsGrp* clone() const;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue