diff options
author | Jakob Bornecrantz <[email protected]> | 2010-01-19 23:29:56 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-01-19 23:30:30 +0100 |
commit | c78fe6e050c311a3d53ccb091686a65ee6933a90 (patch) | |
tree | f2fe25b1a803ade6cfa845a8a8bfd5a5a2b83b40 /src/gallium/state_trackers/xorg/xorg_driver.c | |
parent | 65354a7e3d8fd094837b7a999e8975dcfbd9d9c9 (diff) |
st/xorg: Don't leak BusID buffer
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_driver.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/gallium/state_trackers/xorg/xorg_driver.c index ed185d314f7..b74953e5432 100644 --- a/src/gallium/state_trackers/xorg/xorg_driver.c +++ b/src/gallium/state_trackers/xorg/xorg_driver.c @@ -209,6 +209,7 @@ drv_init_drm(ScrnInfoPtr pScrn) ms->api = drm_api_create(); ms->fd = drmOpen(ms->api ? ms->api->driver_name : NULL, BusID); + xfree(BusID); if (ms->fd >= 0) return TRUE; |