[Mesa-dev] [PATCH mesa 1/2] intel/aubinator: fix mem leak
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Tue Jun 19 17:17:05 UTC 2018
On 19/06/18 16:05, Eric Engestrom wrote:
> 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);
>
There is an mapped pointer in file, not too sure how much it's worth
bothering about that :|
-
Lionel
More information about the mesa-dev
mailing list