From d70d0a66866d8c41cf6a8c9df266c0d7ea29c3dc Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 28 Aug 2006 19:22:13 +0000 Subject: - The memory leak reports will now print out in the logs also the revision they belong to. - Cleaned up the scriptable npc-shop code, it should be crash-proof now. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8525 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/malloc.c b/src/common/malloc.c index db76974b5..f06fe00ca 100644 --- a/src/common/malloc.c +++ b/src/common/malloc.c @@ -583,7 +583,7 @@ static void memmgr_log (char *buf) if (!log_fp) { log_fp = fopen(memmer_logfile,"w"); if (!log_fp) log_fp = stdout; - fprintf(log_fp, "Memory manager: Memory leaks found.\n"); + fprintf(log_fp, "Memory manager: Memory leaks found (Revision %s).\n", get_svn_revision()); } fprintf(log_fp, buf); return; -- cgit v1.2.3-70-g09d2