Commit Diff
--- gotwebd/auth.c +++ gotwebd/auth.c @@ -190,6 +190,7 @@ auth_gen_token(uint64_t uid, const char *hostname) b64 = BIO_new(BIO_f_base64()); if (b64 == NULL) { + BIO_free(bmem); free(tok); return NULL; }
--- gotwebd/auth.c +++ gotwebd/auth.c @@ -190,6 +190,7 @@ auth_gen_token(uint64_t uid, const char *hostname) b64 = BIO_new(BIO_f_base64()); if (b64 == NULL) { + BIO_free(bmem); free(tok); return NULL; }