From ea858f9e49c06b2728dc91c62616533a01ff484c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 19 Jul 2011 12:57:32 +1000 Subject: Don't free on PreInit failure, the server calls UnInit for us later DuSigned-off-by: Peter Hutterer diff --git a/src/xf86MuTouch.c b/src/xf86MuTouch.c index b35d1da..1d56efd 100644 --- src/xf86MuTouch.c +++ src/xf86MuTouch.c @@ -1214,16 +1214,9 @@ xf86MuTInit(InputDriverPtr drv, priv->swap_axes = (priv->swap_axes==0) ? 1 : 0; } - return Success; + rc = Success; init_err: - if (priv) { - if (priv->input_dev) { - free(priv->input_dev); - } - free(priv); - pInfo->private = NULL; - } return rc; } -- cgit v0.10.2