[pypy-commit] pypy stm-gc: Bah.

arigo noreply at buildbot.pypy.org
Thu Apr 19 12:29:48 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-gc
Changeset: r54524:9332cddf50d1
Date: 2012-04-19 11:56 +0200
http://bitbucket.org/pypy/pypy/changeset/9332cddf50d1/

Log:	Bah.

diff --git a/pypy/translator/c/src/allocator.h b/pypy/translator/c/src/allocator.h
--- a/pypy/translator/c/src/allocator.h
+++ b/pypy/translator/c/src/allocator.h
@@ -24,7 +24,7 @@
 #ifndef PYPY_NOT_MAIN_FILE
 
 #if defined(TRIVIAL_MALLOC_DEBUG)
-  void *PyObject_Malloc(size_t n) { return malloc(n<4?4:n)); }
+  void *PyObject_Malloc(size_t n) { return malloc(n<4?4:n); }
   void *PyObject_Realloc(void *p, size_t n) { return realloc(p, n<4?4:n); }
   void PyObject_Free(void *p) { if (p) { *((int*)p) = 0xDDDDDDDD; } free(p); }
 


More information about the pypy-commit mailing list