Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Заменить malloc на calloc #74

Open
zhmylove opened this issue Apr 12, 2019 · 0 comments
Open

Заменить malloc на calloc #74

zhmylove opened this issue Apr 12, 2019 · 0 comments
Assignees

Comments

@zhmylove
Copy link
Owner

В местах, где выделяются участки памяти, предполагающие наличие нулей. Например, struct player.
Либо альтернатива: быть внимательнее с инициализацией объектов. Потому что сейчас, например, в player event queue инициализируется только мьютекс, в результате Солярис паникует на обработке неизвестного события (мусор в памяти) из очереди.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant