Commit 5a0c7a13 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3853 from alalek:ocl_fix_bufferpool_cleanup

parents 7ab73229 b5529aef
...@@ -3957,6 +3957,7 @@ public: ...@@ -3957,6 +3957,7 @@ public:
derived()._releaseBufferEntry(entry); derived()._releaseBufferEntry(entry);
} }
reservedEntries_.clear(); reservedEntries_.clear();
currentReservedSize = 0;
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment