summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorJan Vesely <[email protected]>2018-05-07 23:40:47 -0400
committerJan Vesely <[email protected]>2018-05-08 21:35:07 -0400
commit0783399d796823fbefaab7af5551d0df90bd9dac (patch)
tree7b3ff445f8466685265bf52a95a2135e838cb523 /src/gallium/auxiliary
parent901db25d5b7cd2ac2dd648b370c4bddf23dd5c44 (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')
-rw-r--r--src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c1
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;
}