mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added missing lock in RsSharedPtr destructor
This commit is contained in:
parent
64b9e3477a
commit
aa93505860
@ -65,7 +65,9 @@ public:
|
||||
|
||||
~RsSharedPtr()
|
||||
{
|
||||
lock();
|
||||
DecrementAndDeleteIfLast();
|
||||
unlock();
|
||||
}
|
||||
private:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user