diff options
author | cypherpunks <cypherpunks@torproject.org> | 2018-09-21 05:16:22 +0000 |
---|---|---|
committer | cypherpunks <cypherpunks@torproject.org> | 2018-09-21 05:16:22 +0000 |
commit | 42558df7c8affeec33e66d987ccf4d632a9d5466 (patch) | |
tree | a55eb3bd2c910d03bfcb423b1d27b6d2bb402b90 /src/test | |
parent | db89b4b1527103455e1bd85839a88d614a402354 (diff) | |
download | tor-42558df7c8affeec33e66d987ccf4d632a9d5466.tar.gz tor-42558df7c8affeec33e66d987ccf4d632a9d5466.zip |
rust/protover: return C-allocated string in protover_all_supported()
The result of CString::into_raw() is not safe to free
with free() except under finicky and fragile circumstances
that we definitely don't meet right now.
This was missed in be583a34a3815c2c10e86094ab0610e4b7f9c869.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions