-
Notifications
You must be signed in to change notification settings - Fork 198
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
Fixed codec nullptr dereferencing. #264
Fixed codec nullptr dereferencing. #264
Conversation
Signed-off-by: Cervenka Dusan <cervenka@acrios.com>
This PR should be ready to merge. |
I suggest (maybe in addition?) to call the dispose function just if it not null
|
I was thinking about this implementation too. It is correct, but it may be tricky if there will be change in RequestContext. Logically i don't like that createRequest is called in different scope than release request. As this are pair functions. |
OK, agree. |
I understand what you want to achieve. I think it is not necessary right now. But it can be usefull in future if another allocation may failed during RequestContext creation... |
Thank you! |
Signed-off-by: Cervenka Dusan cervenka@acrios.com
Pull request
Choose Correct
Describe the pull request
#263
To Reproduce
Expected behavior
Screenshots
Desktop (please complete the following information):
Steps you didn't forgot to do
Additional context