From 3920d8c1f3b414884179eae5fc4295d409b02d87 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Thu, 21 May 2020 12:22:47 -0700 Subject: [PATCH] code review fix --- crates/wasi-common/src/path.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/wasi-common/src/path.rs b/crates/wasi-common/src/path.rs index 1f27b7a205..fdce7b481a 100644 --- a/crates/wasi-common/src/path.rs +++ b/crates/wasi-common/src/path.rs @@ -47,9 +47,6 @@ pub(crate) fn get( // any symlinks we encounter are processed by pushing them on the stack. let mut path_stack = vec![path.to_owned()]; - // No longer need a borrow into the guest memory for `path`: - drop(path); - // Track the number of symlinks we've expanded, so we can return `ELOOP` after too many. let mut symlink_expansions = 0;