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

Memory management needs improvement #9

Open
gijzelaerr opened this issue Apr 11, 2018 · 1 comment
Open

Memory management needs improvement #9

gijzelaerr opened this issue Apr 11, 2018 · 1 comment

Comments

@gijzelaerr
Copy link
Collaborator

gijzelaerr commented Apr 11, 2018

various mallocs here and there, without free. Most of them are tagged with a todo comment though

@gijzelaerr
Copy link
Collaborator Author

mallocs are done in 3 files, src/static/derget.c, src/generated/pack.c and src/generated/server.c.

derget is quite minimal, the mallocs in pack.c should be freed after the data is sent to the server or returned to the client. In server.c a bit smarter memory management is required to manage unpacking.

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

No branches or pull requests

1 participant