X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/92c3b05ef3e582d64b3cecfc261fdd66ef13a4ef..0a01282c77d958d15a135ade3fcd1ef6c57c7273:/sbr/netsec.c diff --git a/sbr/netsec.c b/sbr/netsec.c index 25b1f888..eb92dfcd 100644 --- a/sbr/netsec.c +++ b/sbr/netsec.c @@ -1085,7 +1085,7 @@ netsec_get_password(sasl_conn_t *conn, void *context, int id, * us room for a terminating NUL */ - *psecret = (sasl_secret_t *) malloc(sizeof(sasl_secret_t) + len); + *psecret = malloc(sizeof(sasl_secret_t) + len); if (! *psecret) return SASL_NOMEM;