Resolved memory leak when cvSetData is used; Changed license text.