[Mesa-dev] [PATCH mesa 1/2] intel/aubinator: fix mem leak

Eric Engestrom eric.engestrom at intel.com
Tue Jun 19 15:05:19 UTC 2018


Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
---
 src/intel/tools/aubinator.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index c8d79ae377d68285bd1e..e4fb8adada354253143c 100644
--- a/src/intel/tools/aubinator.c
+++ b/src/intel/tools/aubinator.c
@@ -671,6 +671,7 @@ int main(int argc, char *argv[])
    /* close the stdout which is opened to write the output */
    close(1);
    free(xml_path);
+   free(file);
 
    wait(NULL);
 
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list