rpc: fix resource leak
Commit 252610f7 switched to use hash to store servers. Function virHashGetItems returns allocated array which needs to be freed also for successful path, not only if there is an error. Signed-off-by: NPavel Hrdina <phrdina@redhat.com> (cherry picked from commit ab0a461b)
Showing
想要评论请 注册 或 登录