diff options
author | Lloyd Hilaiel <lloyd@hilaiel.com> | 2009-05-17 11:56:43 -0600 |
---|---|---|
committer | Lloyd Hilaiel <lloyd@hilaiel.com> | 2009-05-17 11:56:43 -0600 |
commit | 75cd82ec8f963b65b92a1a8bcd668b5bed692b51 (patch) | |
tree | cf21b2e7b6942080fe8ba448cbf487d8ebba0091 /test | |
parent | 57bac17eb1f7c2c832496911715c4cc498b539a1 (diff) | |
download | yajl-75cd82ec8f963b65b92a1a8bcd668b5bed692b51.tar.gz |
fix realloc bug in yajl test case runner
Diffstat (limited to 'test')
-rw-r--r-- | test/yajl_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/yajl_test.c b/test/yajl_test.c index 3554f1b..f2c070f 100644 --- a/test/yajl_test.c +++ b/test/yajl_test.c @@ -74,7 +74,7 @@ static void * yajlTestRealloc(void * ctx, void * ptr, unsigned int sz) TEST_CTX(ctx)->numFrees++; } - return realloc(ctx, sz); + return realloc(ptr, sz); } |