• J
    virnetsocket: Resolve Coverity RESOURCE_LEAK · cc1bbbbe
    John Ferlan 提交于
    Since '1b807f92' - Coverity complains that in the error paths of
    both virFork() and virProcessWait() that the 'passfd' will not be closed.
    Added the VIR_FORCE_CLOSE(passfd) and initialized it to -1.
    
    Also noted that variable 'buf' was never really used - so I removed it
    cc1bbbbe
virnetsocket.c 53.1 KB