Message ID | 1528892062-4997-29-git-send-email-tomaszx.jozwiak@intel.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Pablo de Lara Guarch |
Headers | |
Series | crypto/qat: refactor to support multiple services | |
Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
ci/Intel-compilation | success | Compilation OK |
Commit Message
diff --git a/drivers/crypto/qat/qat_qp.c b/drivers/crypto/qat/qat_qp.c index 9938c1493..569eace57 100644 --- a/drivers/crypto/qat/qat_qp.c +++ b/drivers/crypto/qat/qat_qp.c @@ -248,6 +248,9 @@ int qat_qp_setup(struct qat_pci_device *qat_dev, return 0; create_err: + if (qp->op_cookie_pool) + rte_mempool_free(qp->op_cookie_pool); + rte_free(qp->op_cookies); rte_free(qp); return -EFAULT; }