summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xf86Elo.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/xf86Elo.c b/src/xf86Elo.c
index cee7557..4e9296e 100644
--- a/src/xf86Elo.c
+++ b/src/xf86Elo.c
@@ -944,12 +944,6 @@ xf86EloInit(InputDriverPtr drv,
if (!str) {
xf86Msg(X_ERROR, "%s: No Device specified in Elographics module config.\n",
pInfo->name);
- if (priv) {
- if (priv->input_dev) {
- free(priv->input_dev);
- }
- free(priv);
- }
return BadValue;
}
priv->input_dev = strdup(str);