6f39b9941b835ba9d91b742a7bc6de5ea22cc6ce
The existing code worked, but it cleared the objects before calling init_keyboard. This made it look like init_keyboard might leak the existing values. If a third case was added later where init_keyboard was called it would leak if the caller didn't clear the objects before calling it.
Description
Languages
Dart
75.4%
C++
16.4%
Objective-C++
2.7%
Java
2.7%
Objective-C
0.6%
Other
1.8%