(driver.c) Cleanups

This commit is contained in:
twinaphex 2015-03-24 09:04:06 +01:00
parent cda414b27d
commit 289085b248

View File

@ -36,10 +36,8 @@ void driver_free(void)
{
driver_t *driver = driver_get_ptr();
if (!driver)
return;
free(driver);
if (driver)
free(driver);
}
static driver_t *driver_new(void)