commit 6532cc421e6a237fcf2f538139eb9ec8db8a2c5f parent f1e829cf0801cc3a94a43eada30bff55d2efff90 Author: Michael Savage <mikejsavage@gmail.com> Date: Wed Aug 31 09:38:08 -0700 Use free instead of delete in bsp_destroy Diffstat:
bsp.cc | | | 2 | +- |
diff --git a/bsp.cc b/bsp.cc @@ -72,7 +72,7 @@ void bsp_init( BSP * bsp, const char * filename ) { } void bsp_destroy( BSP * bsp ) { - delete bsp->contents; + free( bsp->contents ); } template< typename T >