Fix more memory leaks (issue #327)

This commit is contained in:
Bart van Strien
2011-11-12 15:00:26 +01:00
parent aedf532cdc
commit cf2bfcc4a2
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ namespace box2d
Contact * c = new Contact(contact);
luax_newtype(L, "Contact", (PHYSICS_CONTACT_T), (void*)c, false);
luax_newtype(L, "Contact", (PHYSICS_CONTACT_T), (void*)c, true);
int args = 3;
if (impulse) {