summaryrefslogtreecommitdiff
path: root/src/tests/util.rs
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2018-07-08 00:37:20 +0200
committerRobin Krahl <robin.krahl@ireas.org>2018-12-10 14:36:40 +0100
commitc1e6bcb3e448962b5f4cf4453e629eae1a82b943 (patch)
tree7ed3dbef91acaed4c718ba49ad2a11301b1db41c /src/tests/util.rs
parent0c0b99880ded2ebb7f2cca68bceb94ec1b82843e (diff)
downloadnitrokey-rs-c1e6bcb3e448962b5f4cf4453e629eae1a82b943.tar.gz
nitrokey-rs-c1e6bcb3e448962b5f4cf4453e629eae1a82b943.tar.bz2
Always free string pointers returned by libnitrokey
Old libnitrokey versions could return pointers to both statically and dynamically allocated strings for functions that return strings. This has been fixed in libnitrokey commit 7a8550d (included in v3.4). This patch removes the old workaround and always frees the return value of functions returning a string pointer.
Diffstat (limited to 'src/tests/util.rs')
0 files changed, 0 insertions, 0 deletions