[FAB-9703] A minor fix
[FAB-9703] A minor fix

This CR fixes a minor bug - an iterator need to be released.

Change-Id: Ia3425982a2fb7f993aed95b12f90915ec6bf8d85
Signed-off-by: manish <a9d79eea65b0c2019f8af02c53bb35240dcbd527@gmail.com>

muralisrini/fabric,binhn/fabric,jimthematrix/fabric,binhn/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,stemlending/fabric,manish-sethi/fabric-sidedb,muralisrini/fabric,hyperledger/fabric,binhn/fabric,manish-sethi/fabric-sidedb,stemlending/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric,xixuejia/fabric,manish-sethi/fabric,xixuejia/fabric,jimthematrix/fabric,xixuejia/fabric,manish-sethi/fabric-sidedb,stemlending/fabric,hyperledger/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,muralisrini/fabric