Commit a5128831 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed bug #1388

parent 3535aacc
......@@ -719,7 +719,7 @@ bool ExrEncoder::write( const Mat& img, const vector<int>& )
}
data += step;
}
delete buffer;
delete[] buffer;
}
return result;
......
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