-
Notifications
You must be signed in to change notification settings - Fork 23
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
Fine-grained memory operation with dcurl_entry #56
Comments
The call sequence should be |
It seems that
|
Related: #20 |
The PR #59 achieves the goal. Close. |
For example of using dcurl API,
The ret_trytes is required to manually use free(), for example:
I suggest the dcurl_destroy() API can be added a argument to release ret_trytes, for example:
This is because the sematic of dcurl_destroy is destroying usage resources. For using dcurl API, a developer maybe imagine ret_trytes can be released without using free() after using dcurl_destroy(). Would this suggestion is better?
The text was updated successfully, but these errors were encountered: