PatrickTaibel commented on code in PR #431:
URL: https://github.com/apache/qpid-proton/pull/431#discussion_r1696345652


##########
c/src/core/codec.c:
##########
@@ -431,6 +431,7 @@ void pn_data_clear(pn_data_t *data)
     data->current = 0;
     data->base_parent = 0;
     data->base_current = 0;
+    data->error = NULL;

Review Comment:
   On second thought, I have no idea why I just set that to `NULL`. Thanks for 
providing me the correct utility function.
   Changed the PR to use `pn_error_clear(data->error);` now. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to