svn commit: samba r2662 - in branches/SAMBA_4_0/source/lib: .
tridge at samba.org
tridge at samba.org
Sun Sep 26 12:48:07 GMT 2004
Author: tridge
Date: 2004-09-26 12:48:06 +0000 (Sun, 26 Sep 2004)
New Revision: 2662
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/lib&rev=2662&nolog=1
Log:
make --leak-check completely silent if not blocks are allocated
Modified:
branches/SAMBA_4_0/source/lib/talloc.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc.c
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc.c 2004-09-26 11:45:14 UTC (rev 2661)
+++ branches/SAMBA_4_0/source/lib/talloc.c 2004-09-26 12:48:06 UTC (rev 2662)
@@ -427,6 +427,9 @@
*/
static void talloc_report_all(void)
{
+ if (talloc_total_size(null_context) == 0) {
+ return;
+ }
talloc_report(null_context, stderr);
}
More information about the samba-cvs
mailing list