diff options
author | Chelsea Holland Komlo <me@chelseakomlo.com> | 2017-09-28 03:08:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-10-27 10:02:08 -0400 |
commit | 0c04b54d4d78f7f3117948358b3d05e644fa1aeb (patch) | |
tree | 6c554a44f392a4fd0845e5c466955c43cdcea002 /src/common | |
parent | d1820c1516a31a149fc51a9e5126bf899e4c4e08 (diff) | |
download | tor-0c04b54d4d78f7f3117948358b3d05e644fa1aeb.tar.gz tor-0c04b54d4d78f7f3117948358b3d05e644fa1aeb.zip |
minimize scope for unsafe
update documentation
missing check for null
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/rust_types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/rust_types.c b/src/common/rust_types.c index d116b515b8..1b6dd3990e 100644 --- a/src/common/rust_types.c +++ b/src/common/rust_types.c @@ -26,7 +26,7 @@ move_rust_str_to_c_and_free(rust_str_ref_t src, char **dest) } if (!dest) { - log_warn(LD_BUG, "Received a null pointer from caller to protover rust. " + log_warn(LD_BUG, "Received a null pointer from caller to rust. " "This results in a memory leak due to not freeing the rust " "string that was meant to be copied.."); return; |