bool startConnected = false;
char fileType_name[48] = "";
- char *fileType = NULL;
+ g_autofree char *fileType = NULL;
char fileName_name[48] = "";
- char *fileName = NULL;
+ g_autofree char *fileName = NULL;
char network_endPoint_name[48] = "";
- char *network_endPoint = NULL;
+ g_autofree char *network_endPoint = NULL;
g_autoptr(virURI) parsedUri = NULL;
g_clear_pointer(def, virDomainChrDefFree);
}
- VIR_FREE(fileType);
- VIR_FREE(fileName);
- VIR_FREE(network_endPoint);
-
return result;
}