[Genabel-commits] r1462 - pkg/filevector/fvfutil

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Dec 10 14:57:37 CET 2013


Author: lckarssen
Date: 2013-12-10 14:57:37 +0100 (Tue, 10 Dec 2013)
New Revision: 1462

Modified:
   pkg/filevector/fvfutil/convert.cpp
Log:
Fix mismatched allocation/deallocation in fvfutil/convert.cpp.


Modified: pkg/filevector/fvfutil/convert.cpp
===================================================================
--- pkg/filevector/fvfutil/convert.cpp	2013-12-10 13:44:34 UTC (rev 1461)
+++ pkg/filevector/fvfutil/convert.cpp	2013-12-10 13:57:37 UTC (rev 1462)
@@ -98,6 +98,6 @@
     dataFile.close();
     new_data_file.close();
     new_index_file.close();
-    delete buffer;
+    delete[] buffer;
 
 }



More information about the Genabel-commits mailing list