summaryrefslogtreecommitdiffstats
path: root/tools/heapcheck/heapcheck_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/heapcheck/heapcheck_test.py')
-rw-r--r--tools/heapcheck/heapcheck_test.py2
1 files changed, 1 insertions, 1 deletions
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