1. Evan Dorn
  2. love

Commits

Bill Meltsner  committed 0214dc7

Fix a memory leak

  • Participants
  • Parent commits d38c824
  • Branches default

Comments (0)

Files changed (1)

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

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