diff options
author | Jan Vesely <[email protected]> | 2018-05-07 23:40:47 -0400 |
---|---|---|
committer | Jan Vesely <[email protected]> | 2018-05-08 21:35:07 -0400 |
commit | 0783399d796823fbefaab7af5551d0df90bd9dac (patch) | |
tree | 7b3ff445f8466685265bf52a95a2135e838cb523 /src/gallium/auxiliary/pipe-loader | |
parent | 901db25d5b7cd2ac2dd648b370c4bddf23dd5c44 (diff) |
pipe-loader: Free driver_name in error path
CC: <[email protected]>
Signed-off-by: Jan Vesely <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/pipe-loader')
-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 b6be1b4f127..3b959e53981 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c @@ -207,6 +207,7 @@ pipe_loader_drm_probe_fd(struct pipe_loader_device **dev, int fd) if (ddev->lib) util_dl_close(ddev->lib); #endif + FREE(ddev->base.driver_name); FREE(ddev); return false; } |