bindings/python: Fix broken realloc() new size
commit251fcad42e6435006836b3fa01c12011cc7bfb27
authorAlberto Bertogli <albertito@blitiri.com.ar>
Sun, 27 Feb 2011 11:39:53 +0000 (27 11:39 +0000)
committerAlberto Bertogli <albertito@blitiri.com.ar>
Sun, 27 Feb 2011 21:23:34 +0000 (27 21:23 +0000)
tree11a29d4d997bd7f57dfcc1ca33894028350fbc10
parent036fe769755f430dac1d4be7effaa107614145da
bindings/python: Fix broken realloc() new size

This patch fixes the new size parameter given to realloc(), which was (very)
wrong.

Surprisingly, this simple mistake wasn't caught by the tests OR valgrind under
Linux, but on FreeBSD made one of the tests crash (behaviour n23), and it did
appear under valgrind on that platform.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
bindings/python/libjio.c