提交 0f45d8a2 编写于 作者: J John Ferlan 提交者: Ján Tomko

storage: Resource resource leak using 'tmp_vols'

上级 159f59f3
......@@ -1197,6 +1197,7 @@ storagePoolListAllVolumes(virStoragePoolPtr pool,
if (tmp_vols[i])
virStorageVolFree(tmp_vols[i]);
}
VIR_FREE(tmp_vols);
}
if (obj)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册