X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=blobdiff_plain;f=daemon%2Fauth.c;h=d8c7a354345424b409e93869a281a153c3066a59;hp=470c985db3805ba7759d370eb6808c968009f0bc;hb=bec4d3b61d05dfc014fd9142d8ea2ec1d0bd5a1d;hpb=164c5545556bcf5545f5a938260e02645071a116 diff --git a/daemon/auth.c b/daemon/auth.c index 470c985..d8c7a35 100644 --- a/daemon/auth.c +++ b/daemon/auth.c @@ -80,10 +80,10 @@ void authputhandle(struct authhandle *auth) { if(--auth->refcount) return; - if(auth->text != NULL) - free(auth->text); if(auth->mechdata != NULL) auth->mech->release(auth); + if(auth->text != NULL) + free(auth->text); free(auth); }