diff options
| author | INADA Naoki <songofacandy@gmail.com> | 2010-10-26 01:32:08 +0900 |
|---|---|---|
| committer | INADA Naoki <songofacandy@gmail.com> | 2010-10-26 01:32:08 +0900 |
| commit | d8e3575a465d28c91efb285035fb8e4aa15b27da (patch) | |
| tree | 02f55a9d9af0aa183553b14155934623fba8158b /python/msgpack/unpack.h | |
| parent | 6fa609be3fc6cf771bb880bf8c844f874c7acffb (diff) | |
| download | msgpack-python-d8e3575a465d28c91efb285035fb8e4aa15b27da.tar.gz | |
Remove unnecessary refcount manipulation.
Diffstat (limited to 'python/msgpack/unpack.h')
| -rw-r--r-- | python/msgpack/unpack.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/msgpack/unpack.h b/python/msgpack/unpack.h index e4c03bd..404ee5a 100644 --- a/python/msgpack/unpack.h +++ b/python/msgpack/unpack.h @@ -178,7 +178,6 @@ int template_callback_map_end(unpack_user* u, msgpack_unpack_object* c) { if (u->object_hook) { PyObject *arglist = Py_BuildValue("(O)", *c); - Py_INCREF(*c); *c = PyEval_CallObject(u->object_hook, arglist); Py_DECREF(arglist); return 0; |
