From f40916406144b74a84090156b28aa6eba499725e Mon Sep 17 00:00:00 2001 From: Packit Date: Aug 19 2020 12:54:23 +0000 Subject: Apply patch 0007-Fix-memory-leak-in-test_check_nt_time_string_lifetim.patch patch_name: 0007-Fix-memory-leak-in-test_check_nt_time_string_lifetim.patch location_in_specfile: 7 present_in_specfile: true --- diff --git a/library/adutil.c b/library/adutil.c index 21ccd27..cd40f45 100644 --- a/library/adutil.c +++ b/library/adutil.c @@ -501,6 +501,7 @@ test_check_nt_time_string_lifetime (void) (time (NULL) + 10 + AD_TO_UNIX_TIME_CONST) * 1000 * 1000 *10) != -1); assert (!_adcli_check_nt_time_string_lifetime (time_str, 0)); + free (time_str); /* This test will fail some time after 2200AD as a reminder to reflect * why adcli is still needed. */