sna: And free the DIR after use

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-07-02 18:50:26 +01:00
parent e7b31b6d0a
commit affdebcb2d
1 changed files with 1 additions and 0 deletions

View File

@ -391,6 +391,7 @@ sna_output_backlight_init(xf86OutputPtr output)
}
}
}
closedir(dir);
sna_output->backlight_iface = NULL;