diff options
author | Emil Velikov <[email protected]> | 2014-05-17 15:04:59 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-06-19 12:37:14 +0100 |
commit | 7f00611d780df85cc20474b6695754e36a6c9228 (patch) | |
tree | 419cd60bd96ff47a02145a85c5a16f1c12292308 /src/gallium/auxiliary | |
parent | 6984e8db91da0725127f1d66bede54e074a32e8c (diff) |
pipe-loader: note that we leak pipe_loader_drm_device->base->driver_name
The string is malloc'd (strdup) in loader_get_driver_for_fd().
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c index a3fc186aaa2..2e5b74bacdc 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c @@ -256,6 +256,7 @@ pipe_loader_drm_release(struct pipe_loader_device **dev) util_dl_close(ddev->lib); close(ddev->fd); + /* XXX: Free ddev->base.driver_name - strdup at loader_get_driver_for_fd */ FREE(ddev); *dev = NULL; } |