summaryrefslogtreecommitdiff
path: root/src/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver.cpp')
-rw-r--r--src/driver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver.cpp b/src/driver.cpp
index 8ff3e361b..6419cdd4c 100644
--- a/src/driver.cpp
+++ b/src/driver.cpp
@@ -236,8 +236,8 @@ DriverFactoryBase::~DriverFactoryBase()
const char *longname = (*it).first;
GetDrivers().erase(it);
- free((void *)longname);
+ free(longname);
if (GetDrivers().empty()) delete &GetDrivers();
- free((void *)this->name);
+ free(this->name);
}