Why using "delete" instead of "delete []" to delete mask array pointer?

We will fix it in the following release of Deepstream. Thanks for reporting the issue.