diff --git a/clients/samples/example_hybmv.cpp b/clients/samples/example_hybmv.cpp index cda7f23a..a1656995 100644 --- a/clients/samples/example_hybmv.cpp +++ b/clients/samples/example_hybmv.cpp @@ -1,5 +1,5 @@ /* ************************************************************************ - * Copyright (C) 2018-2019 Advanced Micro Devices, Inc. All rights Reserved. + * Copyright (C) 2018-2024 Advanced Micro Devices, Inc. All rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -161,5 +161,9 @@ int main(int argc, char* argv[]) hipsparseDestroyMatDescr(descrA); hipsparseDestroy(handle); + // Clean up + hipFree(dx); + hipFree(dy); + return 0; }