|
From: | Thomas Dickey |
Subject: | Re: found memory leak in ncurses-5.7 |
Date: | Sun, 22 Mar 2009 18:20:21 -0400 (EDT) |
On Sun, 22 Mar 2009, Martin Ettl wrote:
Hi friends, i detected a memory leak in ncurses version 5.7. In file ncurses-5.7/ncurses/base/safe_sprintf.c at line 115, the function will return -1 without freeing the memory, allocated to variabel 'format'. The memory leak was detected by using the static code analysis tool cppcheck. I used the following command: cppcheck -q ncurses-5.7/ [ncurses-5.7/ncurses/base/safe_sprintf.c:115]: (error) Memory leak: format
thanks (I added this to my to-do list last week) -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |