From 0d1ff2c438c7dc658388bcbeb089d6cfd970ef9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Fri, 26 Nov 2021 19:51:21 +0100 Subject: [PATCH] fix: uncomment free --- frankenphp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frankenphp.go b/frankenphp.go index a198008..bcb4e77 100644 --- a/frankenphp.go +++ b/frankenphp.go @@ -109,7 +109,7 @@ func ExecuteScript(responseWriter http.ResponseWriter, request *http.Request) er var cAuthUser, cAuthPassword *C.char if authPassword != "" { cAuthPassword = C.CString(authPassword) - //defer C.free(unsafe.Pointer(cAuthPassword)) + defer C.free(unsafe.Pointer(cAuthPassword)) } if authUser := fc.Env["REMOTE_USER"]; authUser != "" {