diff options
Diffstat (limited to 'rotord/src/cvimage.h')
| -rw-r--r-- | rotord/src/cvimage.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rotord/src/cvimage.h b/rotord/src/cvimage.h index 0f0f931..2902295 100644 --- a/rotord/src/cvimage.h +++ b/rotord/src/cvimage.h @@ -102,6 +102,7 @@ namespace Rotor { }; bool setup(int _w,int _h){ //set up with internal data if ((w!=_w)|(h!=_h)){ + free(); rgb.create(_h,_w,CV_8UC3); RGBdata=rgb.data; //can move to use the bare pointer eventually ownsRGBdata=false; //will not be necessary |
