https://bugzilla.redhat.com/show_bug.cgi?id=616500

coverity ID 12125
https://bugzilla.redhat.com/attachment.cgi?id=439457&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=439457&action=edit

coverity ID 12131
https://bugzilla.redhat.com/attachment.cgi?id=439472&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=439472&action=edit

coverity ID 12135
https://bugzilla.redhat.com/attachment.cgi?id=439475&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=439475&action=edit

coverity ID 12099
https://bugzilla.redhat.com/attachment.cgi?id=439813&action=diff
https://bugzilla.redhat.com/attachment.cgi?id=439813&action=edit

Thanks,
--noriko