summaryrefslogtreecommitdiff
path: root/proto/server/func_handlerequest.go.sh
diff options
context:
space:
mode:
Diffstat (limited to 'proto/server/func_handlerequest.go.sh')
-rwxr-xr-xproto/server/func_handlerequest.go.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/proto/server/func_handlerequest.go.sh b/proto/server/func_handlerequest.go.sh
index ea07439..0dffe39 100755
--- a/proto/server/func_handlerequest.go.sh
+++ b/proto/server/func_handlerequest.go.sh
@@ -75,7 +75,6 @@ while read -r request; do
echo '_req := req'
echo '_req.Password = sensitive'
echo 'fmt.Fprintf(os.Stderr, "Request: %#v\n", _req)'
- echo 'p.Free(&_req)'
;;
PAM_PwMod)
echo '_req := req'
@@ -84,13 +83,11 @@ while read -r request; do
echo '}'
echo '_req.NewPassword = sensitive'
echo 'fmt.Fprintf(os.Stderr, "Request: %#v\n", _req)'
- echo 'p.Free(&_req)'
;;
PAM_UserMod)
echo '_req := req'
echo '_req.Password = sensitive'
echo 'fmt.Fprintf(os.Stderr, "Request: %#v\n", _req)'
- echo 'p.Free(&_req)'
;;
*)
echo 'fmt.Fprintf(os.Stderr, "Request: %#v\n", req)'
@@ -99,7 +96,6 @@ while read -r request; do
)
_ch := backend.${request}(cred, req)
go func() {
- defer p.Free(&req)
defer close(ch)
for obj := range _ch {
ch <- obj