From 5b08e76f5a9d36fa6743ea90849501f3250e4fc5 Mon Sep 17 00:00:00 2001 From: "glider@chromium.org" Date: Wed, 16 Jun 2010 13:41:03 +0000 Subject: Fix the stack line regexp to get rid of false matching lines without real addresses. TBR=timurrrr Review URL: http://codereview.chromium.org/2853005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49935 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/heapcheck/heapcheck_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/heapcheck') diff --git a/tools/heapcheck/heapcheck_test.py b/tools/heapcheck/heapcheck_test.py index 49acae1..d486707 100644 --- a/tools/heapcheck/heapcheck_test.py +++ b/tools/heapcheck/heapcheck_test.py @@ -82,7 +82,7 @@ class HeapcheckWrapper(object): """ leak_report = re.compile( 'Leak of ([0-9]*) bytes in ([0-9]*) objects allocated from:') - stack_line = re.compile('\s*@\s*(?:0x)?[0-9a-fA-F]*\s*([^\n]*)') + stack_line = re.compile('\s*@\s*(?:0x)?[0-9a-fA-F]+\s*([^\n]*)') return_code = 0 # leak signature: [number of bytes, number of objects] cur_leak_signature = None -- cgit v1.1