X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=daemon%2Fauth.c;h=d8c7a354345424b409e93869a281a153c3066a59;hb=4e564b59c7c565387c4907017dfacce2ef761f8a;hp=470c985db3805ba7759d370eb6808c968009f0bc;hpb=ded209d3974f3f381e718b62acf4f430dc641562;p=doldaconnect.git 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); }