This is an automated email from the ASF dual-hosted git repository.
aconway pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/master by this push:
new 4041745 NO-JIRA: outdated `pn_connection_driver_free` reference in
doc comment
new 165e961 Merge pull request #171 from jdanekrh/jd_destroy_free_typo
4041745 is described below
commit 4041745ed3a15b538f8e48f8b37658befd81f687
Author: Jiri Danek <[email protected]>
AuthorDate: Wed Dec 12 16:33:49 2018 +0100
NO-JIRA: outdated `pn_connection_driver_free` reference in doc comment
---
c/include/proton/connection_driver.h | 2 +-
c/tests/fuzz/fuzz-connection-driver.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/c/include/proton/connection_driver.h
b/c/include/proton/connection_driver.h
index e83e2e9..06b80ee 100644
--- a/c/include/proton/connection_driver.h
+++ b/c/include/proton/connection_driver.h
@@ -213,7 +213,7 @@ PN_EXTERN bool
pn_connection_driver_has_event(pn_connection_driver_t *);
* Return true if the the driver is closed for reading and writing and there
are
* no more events.
*
- * Call pn_connection_driver_free() to free all related memory.
+ * Call pn_connection_driver_destroy() to free all related memory.
*/
PN_EXTERN bool pn_connection_driver_finished(pn_connection_driver_t *);
diff --git a/c/tests/fuzz/fuzz-connection-driver.c
b/c/tests/fuzz/fuzz-connection-driver.c
index 506a83b..70ef650 100644
--- a/c/tests/fuzz/fuzz-connection-driver.c
+++ b/c/tests/fuzz/fuzz-connection-driver.c
@@ -100,8 +100,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t
Size) {
} while (size > 0);
pn_connection_driver_close(&driver);
- pn_connection_driver_destroy(
- &driver); // TODO: documentation says pn_connection_driver_free
+ pn_connection_driver_destroy(&driver);
if (VERBOSE)
printf("END LLVMFuzzerTestOneInput\n");
return 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]