[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
found memory leak in ncurses-5.7
From: |
Martin Ettl |
Subject: |
found memory leak in ncurses-5.7 |
Date: |
Sun, 22 Mar 2009 21:42:50 +0100 |
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
Best regards
Ettl Martin
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger01
- found memory leak in ncurses-5.7,
Martin Ettl <=