summaryrefslogtreecommitdiff
path: root/rotord/src/cvimage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/src/cvimage.cpp')
-rw-r--r--rotord/src/cvimage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rotord/src/cvimage.cpp b/rotord/src/cvimage.cpp
index adf4267..e5ea50b 100644
--- a/rotord/src/cvimage.cpp
+++ b/rotord/src/cvimage.cpp
@@ -178,6 +178,7 @@ namespace Rotor {
return *this;
}
Image * Image::operator*(const float &amount) {
+ //LEAK!! even if the image is deleted!! opencv??
Image *other=new Image(w,h);
other->rgb=rgb*amount;
return other;