|
From: | Richard Henderson |
Subject: | Re: [PATCH] configure: Fixes ncursesw detection under msys2/mingw and enable curses |
Date: | Sat, 5 Sep 2020 20:28:52 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 9/5/20 1:42 PM, Yonggang Luo wrote: > + nativecharset_to_ucs2 = iconv_open("UCS-2", g_get_codeset()); g_get_codeset(): "a newly allocated string containing the name of the character set. This string must be freed with g_free()." You need to plug the memory leak. It's probably worth fixing the mistake in which we call this function four times from the same function. r~
[Prev in Thread] | Current Thread | [Next in Thread] |