diff options
Diffstat (limited to 'src/driver.cpp')
-rw-r--r-- | src/driver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.cpp b/src/driver.cpp index 818251e31..2e90c2df1 100644 --- a/src/driver.cpp +++ b/src/driver.cpp @@ -208,7 +208,7 @@ DriverFactoryBase::DriverFactoryBase(Driver::Type type, int priority, const char strecpy(buf, GetDriverTypeName(type), lastof(buf)); strecpy(buf + 5, name, lastof(buf)); - const char *longname = strdup(buf); + const char *longname = stredup(buf); std::pair<Drivers::iterator, bool> P = GetDrivers().insert(Drivers::value_type(longname, this)); assert(P.second); |