Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: c5d061290baa9466182b6d1a5b88aa9e5a4b2386
      
https://github.com/openssl/openssl/commit/c5d061290baa9466182b6d1a5b88aa9e5a4b2386
  Author: Tianjia Zhang <tianjia.zh...@linux.alibaba.com>
  Date:   2022-09-23 (Fri, 23 Sep 2022)

  Changed paths:
    M test/asynctest.c

  Log Message:
  -----------
  test: Fix memory leak of asynctest

ASYNC_init_thread() will be called automatically by ASYNC_start_job(),
so ASYNC_cleanup_thread() must be called at last, otherwise it will
cause memory leak.

Signed-off-by: Tianjia Zhang <tianjia.zh...@linux.alibaba.com>

Reviewed-by: Paul Dale <pa...@openssl.org>
Reviewed-by: David von Oheimb <david.von.ohe...@siemens.com>
Reviewed-by: Hugo Landau <hlan...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16703)


Reply via email to