Commit 00a59d0f authored by Antoine Regimbeau's avatar Antoine Regimbeau

BUG: Mantis 1507 option array used in gdal need to end with nullptr

parent 80a1152a
......@@ -215,7 +215,7 @@ LabelImageToOGRDataSourceFilter<TInputImage>
//Call GDALPolygonize()
char ** options;
options = ITK_NULLPTR;
char * option[1];
char * option[2]= { nullptr , nullptr } ;
if (m_Use8Connected == true)
{
std::string opt("8CONNECTED:8");
......
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