fix: uncomment free

This commit is contained in:
Kévin Dunglas 2021-11-26 19:51:21 +01:00
parent 92a4c21eb7
commit 0d1ff2c438
No known key found for this signature in database
GPG Key ID: 4D04EBEF06AAF3A6

View File

@ -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 != "" {