diff --git a/src/plugin.c b/src/plugin.c index dda57aac..2fe10cd0 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -86,7 +86,6 @@ static int start_ss_plugin(const char *plugin, const char *local_port, enum plugin_mode mode) { - char *new_path = NULL; char *cmd = NULL; size_t plugin_len = strlen(plugin); @@ -114,9 +113,6 @@ static int start_ss_plugin(const char *plugin, ss_free(cmd); - if (new_path != NULL) - ss_free(new_path); - return err; }