diff options
author | Daniel Stone <daniel@fooishbar.org> | 2007-02-15 16:14:57 +0200 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2007-02-15 16:14:57 +0200 |
commit | 0f6dd4aea6176507dbe1c90c950d332fecbcaacb (patch) | |
tree | c9ac6176ca979e0160b4284ef1bc11ba2b3e0993 /hw/kdrive | |
parent | 9ecf79ca0111dd899ca88dd54156f71013220fcc (diff) |
kdrive/ephyr: free screen struct
Free screen->driver on screenFini, instead of just leaking it.
Diffstat (limited to 'hw/kdrive')
-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 2ca51c30b..e8001df73 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; } /* |