Author: fijal
Branch: 
Changeset: r93772:d209cc859e9b
Date: 2018-02-06 16:08 +0100
http://bitbucket.org/pypy/pypy/changeset/d209cc859e9b/

Log:    never move changes by hand...

diff --git a/rpython/rlib/rzlib.py b/rpython/rlib/rzlib.py
--- a/rpython/rlib/rzlib.py
+++ b/rpython/rlib/rzlib.py
@@ -269,7 +269,7 @@
     compress data.
     """
     stream = lltype.malloc(z_stream, flavor='raw', zero=True)
-    rgc.add_memory_pressure(rffi.sizeof(stream))
+    rgc.add_memory_pressure(rffi.sizeof(z_stream))
     err = _deflateInit2(stream, level, method, wbits, memLevel, strategy)
     if err == Z_OK:
         if zdict is not None:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to