]> diplodocus.org Git - nmh/blobdiff - sbr/netsec.c
inc/test-eom-align: rm(1) unwanted +inbox emails, not rmm(1).
[nmh] / sbr / netsec.c
index 25b1f888fbcf2a146ff670fad0bf48802d088a6c..eb92dfcdfe0382ae81854dc5a307bf96cf7a58a4 100644 (file)
@@ -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;