diff options
author | Lloyd Hilaiel <lloyd@hilaiel.com> | 2011-04-24 08:06:14 -0600 |
---|---|---|
committer | Lloyd Hilaiel <lloyd@hilaiel.com> | 2011-04-24 08:06:14 -0600 |
commit | 453aa706cc86425bea35195e454f80941a7fbc4a (patch) | |
tree | e10ab42ec2577bc19163222f445532958fe51f3b | |
parent | 25133e5508b979fdf6814832d4355f46bd26db43 (diff) | |
download | yajl-453aa706cc86425bea35195e454f80941a7fbc4a.tar.gz |
fix debug compile error
-rw-r--r-- | src/yajl_tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yajl_tree.c b/src/yajl_tree.c index 7a8c3e7..bf2a3b0 100644 --- a/src/yajl_tree.c +++ b/src/yajl_tree.c @@ -157,7 +157,7 @@ static int object_add_keyval(context_t *ctx, assert (value != NULL); /* We're assuring that "obj" is an object in "context_add_value". */ - assert(YAJL_IS_OBJECT(o)); + assert(YAJL_IS_OBJECT(obj)); tmpk = realloc(obj->u.object.keys, sizeof(*(obj->u.object.keys)) * (obj->u.object.len + 1)); if (tmpk == NULL) |