diff --git a/src/openvz_driver.c b/src/openvz_driver.c index 85f61730052a2660b4bced7c7e75f1c28bb894b6..6b7c49df4c42e0fdd709efa1b4ed4cb7ebf65ce2 100644 --- a/src/openvz_driver.c +++ b/src/openvz_driver.c @@ -1156,7 +1156,7 @@ static int openvzClose(virConnectPtr conn) { } static const char *openvzGetType(virConnectPtr conn ATTRIBUTE_UNUSED) { - return strdup("OpenVZ"); + return "OpenVZ"; } static char *openvzGetCapabilities(virConnectPtr conn) {