diff --git a/Samples/boxFilterNPP/boxFilterNPP.cpp b/Samples/boxFilterNPP/boxFilterNPP.cpp index f3ce90ed..277819d1 100644 --- a/Samples/boxFilterNPP/boxFilterNPP.cpp +++ b/Samples/boxFilterNPP/boxFilterNPP.cpp @@ -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";