Merge branch 'pr/52'

This commit is contained in:
Winslohw 2022-04-04 03:06:09 +02:00
commit 9aa86648f6
2 changed files with 0 additions and 6 deletions

View File

@ -167,9 +167,6 @@ int main(int argc, char *argv[]) {
saveImage(sResultFilename, oHostDst);
std::cout << "Saved image: " << sResultFilename << std::endl;
nppiFree(oDeviceSrc.data());
nppiFree(oDeviceDst.data());
exit(EXIT_SUCCESS);
} catch (npp::Exception &rException) {
std::cerr << "Program error! The following exception occurred: \n";

View File

@ -208,9 +208,6 @@ int main(int argc, char *argv[]) {
saveImage(sResultFilename, oHostDst);
std::cout << "Saved image: " << sResultFilename << std::endl;
nppiFree(oDeviceSrc.data());
nppiFree(oDeviceDst.data());
exit(EXIT_SUCCESS);
} catch (npp::Exception &rException) {
std::cerr << "Program error! The following exception occurred: \n";