From 7f00611d780df85cc20474b6695754e36a6c9228 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 17 May 2014 15:04:59 +0100 Subject: [PATCH] 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 --- 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 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; } -- 2.30.2