diff options
Diffstat (limited to 'tools/heapcheck/heapcheck_test.py')
-rw-r--r-- | tools/heapcheck/heapcheck_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/heapcheck/heapcheck_test.py b/tools/heapcheck/heapcheck_test.py index 90f145df..42167a8 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*[0-9a-fA-F]*\s*(\S*)') + stack_line = re.compile('\s*@\s*(?:0x)?[0-9a-fA-F]*\s*(\S*)') return_code = 0 # leak signature: [number of bytes, number of objects] cur_leak_signature = None |