• D
    Remove pointless strdup in node suspend code · 8c60bc16
    Daniel P. Berrange 提交于
    The command name for the suspend action does not need to be
    strdup'd. The constant string can be used directly. This
    also means the code can be trivially rearranged to make the
    switch clearer
    
    * src/util/virnodesuspend.c: Remove strdup of cmdString
    8c60bc16
virnodesuspend.c 10.9 KB