| commit | aa24216d07eb84a8beb2a8c9d84db451afa23f5a | [log] [tgz] | 
|---|---|---|
| author | Greg Kaiser <gkaiser@google.com> | Mon Mar 28 14:29:42 2016 -0700 | 
| committer | Greg Kaiser <gkaiser@google.com> | Mon Jun 27 11:16:40 2016 -0700 | 
| tree | b565d17cff5221a4b45b557e967409321585ff1f | |
| parent | 0e02ab0fde51c5d7cf58232850c5b6ff6c258dd6 [diff] | 
find_java2: Fix deallocation bug Since 'fviBuffer' was allocated with an array new, it needs to be deallocated with an array delete. Change-Id: I0a96ec78b0d230f64566ad16df0a58c9cdc7e043
diff --git a/find_java2/src/utils.cpp b/find_java2/src/utils.cpp index 9a9e3d2..7f4aa02 100755 --- a/find_java2/src/utils.cpp +++ b/find_java2/src/utils.cpp
@@ -77,7 +77,7 @@ } } } - delete fviBuffer; + delete[] fviBuffer; } CString getAppName() {