• L
    Fix memory leaks in cmdInterfaceEdit and cmdNWFilterEdit. · 2b50cae5
    Laine Stump 提交于
    This applies a fix to thos functions similar to that made to cmdEdit
    in 27089506, thus fnixing a memory
    leak - if tmp is unlinked and NULLed early in the function, the memory
    used by tmp is never freed. Since we will always unlink tmp prior to
    freeing its memory at the end of the function, just remove the earlier
    code and let cleanup: do the cleanup.
    2b50cae5
virsh.c 281.3 KB