It doesn't break out the "for" loop even if duplicate
pool is
found, and thus the "matchpool" could be overriden as NULL again
if there is different pool afterwards.
To address the problem in libvirt-user list:
https://www.redhat.com/archives/libvirt-users/2012-April/msg00150.html
---
src/conf/storage_conf.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)