• L
    pci: change stubDriver from const char* to char* · 53e52b4a
    Laine Stump 提交于
    Previously stubDriver was always set from a string literal, so it was
    okay to use a const char * that wasn't freed when the virPCIDevice was
    freed. This will not be the case in the near future, so it is now a
    char* that is allocated in virPCIDeviceSetStubDriver() and freed
    during virPCIDeviceFree().
    53e52b4a
virpci.h 6.0 KB