1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Fixed ref counting bug, minor formatting

This commit is contained in:
Anatoly Baksheev
2013-07-05 14:13:23 +04:00
parent 45cdc41763
commit 9d684a39da
4 changed files with 10 additions and 16 deletions
+1
View File
@@ -136,6 +136,7 @@ void temp_viz::Widget::release()
if (impl_ && CV_XADD(&impl_->ref_counter, -1) == 1)
{
delete impl_;
impl_ = 0;
}
}