aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/kdrive/fake/fake.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/kdrive/fake/fake.c')
-rw-r--r--xorg-server/hw/kdrive/fake/fake.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xorg-server/hw/kdrive/fake/fake.c b/xorg-server/hw/kdrive/fake/fake.c
index ff597981d..ea88f0edb 100644
--- a/xorg-server/hw/kdrive/fake/fake.c
+++ b/xorg-server/hw/kdrive/fake/fake.c
@@ -457,9 +457,8 @@ void
fakeCardFini (KdCardInfo *card)
{
FakePriv *priv = card->driver;
-
- if (priv->base)
- free (priv->base);
+
+ free (priv->base);
xfree (priv);
}