aboutsummaryrefslogtreecommitdiff
path: root/src/transport/transport_api_cmd_backchannel_check.c
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-12-08 17:30:22 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-12-08 17:30:22 +0900
commit5c4b060714954a6e4571fe981b333856d2ef4a1b (patch)
tree7d26623cedb260caaac4c094c3ad436383ab12e1 /src/transport/transport_api_cmd_backchannel_check.c
parent715ca9df95320ccb5edc8982b264cb41774b7ccc (diff)
downloadgnunet-5c4b060714954a6e4571fe981b333856d2ef4a1b.tar.gz
gnunet-5c4b060714954a6e4571fe981b333856d2ef4a1b.zip
TESTING: The testing API should properly take strings as const
Strings passed to the API should either be const and copied, or handled by the caller and free'd. Looking at the transport tests currently neither is happening. The strings are probably safer but definitely leaked. Changed the API to use "const" strings. Users of the testing API must define functions that copy (and free!) strings accordingly.
Diffstat (limited to 'src/transport/transport_api_cmd_backchannel_check.c')
0 files changed, 0 insertions, 0 deletions