Skip to content

Commit

Permalink
NO-JIRA: outdated pn_connection_driver_free reference in doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jiridanek committed Dec 12, 2018
1 parent 6745a50 commit 4041745
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion c/include/proton/connection_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 *);

Expand Down
3 changes: 1 addition & 2 deletions c/tests/fuzz/fuzz-connection-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4041745

Please sign in to comment.