Add filter to Owned Device Discovery.
- Previous version discovers devices with condition 'owned=true'.
This patch adds one more condition that 'owned=true' and 'owner=myself'
This filter is required to screen out devices that are out of control.
[Patch #3] Add free to prevent memory leak & Rebase
Change-Id: I0eb4ed9fd3b5dda72af5d17774bf42e8fcd7cd17
Signed-off-by: Woochul Shim <woochul.shim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2393
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>