Fix mem leak and mismatched new/delete
This commit is contained in:
@@ -615,7 +615,7 @@ namespace cv
|
||||
CL_PROGRAM_BUILD_LOG, buildLogSize, buildLog, NULL));
|
||||
cout << "\n\t\t\tBUILD LOG\n";
|
||||
cout << buildLog << endl;
|
||||
delete buildLog;
|
||||
delete [] buildLog;
|
||||
}
|
||||
openCLVerifyCall(status);
|
||||
}
|
||||
|
Reference in New Issue
Block a user