forked from lda/telodendria
Tell exactly where the leaked pointer is, so it can be grepped.
This commit is contained in:
parent
65dad27902
commit
31719c2cd6
1 changed files with 2 additions and 2 deletions
|
@ -77,8 +77,8 @@ TelodendriaMemoryIterator(MemoryInfo * i, void *args)
|
||||||
/* We haven't freed the logger memory yet */
|
/* We haven't freed the logger memory yet */
|
||||||
if (MemoryInfoGetPointer(i) != lc)
|
if (MemoryInfoGetPointer(i) != lc)
|
||||||
{
|
{
|
||||||
Log(lc, LOG_DEBUG, "%lu bytes of memory leaked from %s() (%s:%d)",
|
Log(lc, LOG_DEBUG, "%lu bytes of memory at %p leaked from %s() (%s:%d)",
|
||||||
MemoryInfoGetSize(i), MemoryInfoGetFunc(i),
|
MemoryInfoGetSize(i), MemoryInfoGetPointer(i), MemoryInfoGetFunc(i),
|
||||||
MemoryInfoGetFile(i), MemoryInfoGetLine(i));
|
MemoryInfoGetFile(i), MemoryInfoGetLine(i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue