fix: use "cvAlloc" wrapper function for malloc.
fix: use "cvAlloc" wrapper function for malloc.
Merge pull request #2456 from kurodash:pr_use_cvAlloc