Module: Mesa Branch: master Commit: 0626e3a950d5dbe5d86244670b54b67a2af6014c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0626e3a950d5dbe5d86244670b54b67a2af6014c
Author: Eric Anholt <[email protected]> Date: Tue Nov 17 16:37:41 2020 -0800 gallium: Fix leak of the merged driconf options. Fixes: 8a05d6ffc65d ("driconf: Make the driver's declarations be structs instead of XML.") Reviewed-by: Rob Clark <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7695> --- src/gallium/auxiliary/pipe-loader/pipe_loader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.c b/src/gallium/auxiliary/pipe-loader/pipe_loader.c index 29b4993257b..10638a39ed7 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader.c +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.c @@ -120,6 +120,7 @@ pipe_loader_load_options(struct pipe_loader_device *dev) driParseOptionInfo(&dev->option_info, merged_driconf, merged_count); driParseConfigFiles(&dev->option_cache, &dev->option_info, 0, dev->driver_name, NULL, NULL, 0, NULL, 0); + free((void *)merged_driconf); } char * _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
