[pypy-commit] pypy stmgc-c7: lldebug translation fix
arigo
noreply at buildbot.pypy.org
Tue Mar 17 11:43:54 CET 2015
Author: Armin Rigo <arigo at tunes.org>
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)
More information about the pypy-commit
mailing list