diff --git a/test/core/httpcli/httpcli_test.c b/test/core/httpcli/httpcli_test.c
index b05a0449fed599e0430fe1233f85aff4c8fbb795..fbc5d4abe722e86e40792d2378362c479ec82b72 100644
--- a/test/core/httpcli/httpcli_test.c
+++ b/test/core/httpcli/httpcli_test.c
@@ -164,7 +164,6 @@ int main(int argc, char **argv) {
     gpr_asprintf(&args[1], "%s/../../test/core/httpcli/test_server.py", root);
   }
 
-  gpr_free(root);
   /* start the server */
   args[1 + arg_shift] = "--port";
   gpr_asprintf(&args[2 + arg_shift], "%d", port);