MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / freeMem

Method freeMem

Engine/PluginMemory.cpp:99–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void
100PluginMemory::freeMem()
101{
102 QMutexLocker l(&_imp->mutex);
103 EffectInstancePtr e = _imp->effect.lock();
104
105 if (e) {
106 e->unregisterPluginMemory( _imp->data.size() );
107 }
108 _imp->data.clear();
109 _imp->locked = 0;
110}
111
112void*
113PluginMemory::getPtr()

Callers

nothing calls this directly

Calls 4

lockMethod · 0.45
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected