added missing lock in RsSharedPtr destructor

This commit is contained in:
electron128 2015-12-13 20:49:44 +01:00
parent 64b9e3477a
commit aa93505860

View File

@ -65,7 +65,9 @@ public:
~RsSharedPtr()
{
lock();
DecrementAndDeleteIfLast();
unlock();
}
private: