diff options
author | Daniel Stone <daniel@fooishbar.org> | 2007-02-15 16:14:57 +0200 |
---|---|---|
committer | Keith Packard <keithp@guitar.keithp.com> | 2007-02-17 17:12:23 -0800 |
commit | 33c2d2ce8ae00d89b91100cd5d7aba4b18b4117d (patch) | |
tree | 9db9c0b72af0a2104132a47de553aeb1d7ca5c8b /hw | |
parent | 69073a48e35d5f3cdd6a41d18d3b3cc94072b2c1 (diff) |
kdrive/ephyr: free screen struct
Free screen->driver on screenFini, instead of just leaking it.
(cherry picked from commit 0f6dd4aea6176507dbe1c90c950d332fecbcaacb)
Diffstat (limited to 'hw')
-rw-r--r-- | hw/kdrive/ephyr/ephyr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/kdrive/ephyr/ephyr.c b/hw/kdrive/ephyr/ephyr.c index fbb16a465..7c39af361 100644 --- a/hw/kdrive/ephyr/ephyr.c +++ b/hw/kdrive/ephyr/ephyr.c @@ -675,6 +675,8 @@ ephyrRestore (KdCardInfo *card) void ephyrScreenFini (KdScreenInfo *screen) { + xfree(screen->driver); + screen->driver = NULL; } /* |