Kaydet (Commit) d65c4402 authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: fix memory leak

Change-Id: Ic52ef3bcbca4c512fcb6e422a9b4e983cccbe41a
üst 39a78087
...@@ -262,6 +262,7 @@ bool FormulaGroupInterpreterOpenCL::interpret(ScDocument& rDoc, const ScAddress& ...@@ -262,6 +262,7 @@ bool FormulaGroupInterpreterOpenCL::interpret(ScDocument& rDoc, const ScAddress&
if( NULL==pArray ) if( NULL==pArray )
{ {
fprintf(stderr,"Error: pArray is NULL!\n"); fprintf(stderr,"Error: pArray is NULL!\n");
free(rResult);
return false; return false;
} }
if(ocl_calc.GetOpenclState()) if(ocl_calc.GetOpenclState())
......
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