[Mesa-stable] [Mesa-dev][PATCH 1/1] pipe-lader: Free driver_name in error path
Jan Vesely
jan.vesely at rutgers.edu
Tue May 8 05:46:02 UTC 2018
CC: <mesa-stable at lists.freedesktop.org>
Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
---
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
index b6be1b4f12..3b959e5398 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;
}
--
2.17.0
More information about the mesa-stable
mailing list