[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [valgrind] [Bug 324179] massif crashes on exit, valgrind --tool=memcheck is fine
From: <barto () visionpro ! com>
Date: 2013-08-29 18:11:16
Message-ID: bug-324179-17878-kDzOPmIPF0 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=324179
--- Comment #6 from barto@visionpro.com ---
Strangely that memory is returned from a call to malloc. I checked it
explicitly because of the error. I'm unsure why valgrind is not catching this
call.
The code (snippet is)
char *newname = strdup(name);
// don't change where newname points
free(newname); // valgrind reports error
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic