summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZdenek Kabelac <zdenek.kabelac@gmail.com>2009-04-21 18:53:07 -0700
committerEric Anholt <eric@anholt.net>2009-04-21 19:54:21 -0700
commit701c6bef14b5d464847cc42c5ccb66fdeb157f1a (patch)
tree41cde66200350cb4f1e3bb453b958be741a4f6c1 /src
parentfe71217ca86eb7ae8081bf3e26d30f2002d27691 (diff)
free allocated name inside sdvo_destroy
Signed-off-by: Zdenek Kabelac <zkabelac@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src')
-rw-r--r--src/i830_sdvo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index 41e8e59f..a291824b 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -1912,6 +1912,7 @@ i830_sdvo_destroy (xf86OutputPtr output)
xf86DestroyI2CBusRec (intel_output->pDDCBus, FALSE, FALSE);
xf86DestroyI2CDevRec (&dev_priv->d, FALSE);
xf86DestroyI2CBusRec (dev_priv->d.pI2CBus, TRUE, TRUE);
+ free(dev_priv->name);
if (output->randr_output) {
RROutputPtr randr_output = output->randr_output;