linux-4.1-rc3/drivers/crypto/caam/caamhash.c:1183: memory leak ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,

[linux-4.1-rc3/drivers/crypto/caam/caamhash.c:1183]: (error) Memory leak: edesc

    if (dma_mapping_error(jrdev, state->buf_dma)) {
        dev_err(jrdev, "unable to map src\n");
        return -ENOMEM;
    }

Suggest add call to kfree(edesc) inside the if.

Regards

David Binderman

 		 	   		  --
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux