From 812ce585a82466f76eb1ec968f89d0b370d45bfc Mon Sep 17 00:00:00 2001 From: Tuan Le Date: Wed, 21 Jul 2010 18:28:58 +0000 Subject: [PATCH] fix memory leak svn path=/trunk/boinc/; revision=22022 --- samples/nvcuda/cuda.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/nvcuda/cuda.cpp b/samples/nvcuda/cuda.cpp index 81e706694d..520f3005ca 100644 --- a/samples/nvcuda/cuda.cpp +++ b/samples/nvcuda/cuda.cpp @@ -315,6 +315,7 @@ void generate_random_input_file(int n) { } } fclose(infile); + free(h_idata); } /*