Author: Armin Rigo <[email protected]>
Branch: stmgc-c7
Changeset: r76431:473556af41c9
Date: 2015-03-17 11:43 +0100
http://bitbucket.org/pypy/pypy/changeset/473556af41c9/

Log:    lldebug translation fix

diff --git a/rpython/translator/c/src/mem.c b/rpython/translator/c/src/mem.c
--- a/rpython/translator/c/src/mem.c
+++ b/rpython/translator/c/src/mem.c
@@ -86,7 +86,7 @@
 {
   struct pypy_debug_alloc_s **p;
   if (!addr)
-       return;
+       return 1;
   spinlock_acquire(pypy_debug_alloc_lock);
   for (p = &pypy_debug_alloc_list; *p; p = &((*p)->next))
     if ((*p)->addr == addr)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to