Commits

Bill Meltsner  committed 0214dc7

Fix a memory leak

  • Participants
  • Parent commits d38c824

Comments (0)

Files changed (1)

File src/modules/keyboard/sdl/wrap_Keyboard.cpp

 		keylist[counter] = Keyboard::KEY_MAX_ENUM;
 		
 		luax_pushboolean(L, instance->isDown(keylist));
+		delete[] keylist;
 		return 1;
 	}