diff --git a/backend/hp5400_sane.c b/backend/hp5400_sane.c index 697129a70..e5fdf43c0 100644 --- a/backend/hp5400_sane.c +++ b/backend/hp5400_sane.c @@ -433,7 +433,6 @@ static int _ReportDevice(TScannerModel *pModel, const char *pszDeviceName) * pointer */ pNew->devname = (char*)strdup(pszDeviceName); pNew->dev.name = pNew->devname; - (char*)strdup(pszDeviceName); pNew->dev.vendor = pModel->pszVendor; pNew->dev.model = pModel->pszName; pNew->dev.type = "flatbed scanner";