fixed valgrind warning in polylines

pull/5335/head
Ilya Lavrenov 10 years ago committed by Dikay900
parent ec0508269a
commit 11981c31f0
  1. 1
      modules/imgproc/src/drawing.cpp

@ -2232,6 +2232,7 @@ void cv::polylines(InputOutputArray _img, InputArrayOfArrays pts,
Mat p = pts.getMat(manyContours ? i : -1);
if( p.total() == 0 )
{
ptsptr[i] = NULL;
npts[i] = 0;
continue;
}

Loading…
Cancel
Save