commit | 127d01cb0635dcf9c4650c00ef822b9f6bd7be85 | [log] [tgz] |
---|---|---|
author | Kevin Clark <kclark@apache.org> | Tue Mar 24 01:40:56 2009 +0000 |
committer | Kevin Clark <kclark@apache.org> | Tue Mar 24 01:40:56 2009 +0000 |
tree | 0ee5b95ec6992196a5fbf30a054cdd437c1c25e3 | |
parent | 2ad9eb7c5ec9db4c9c9ca334e7f04959154db56b [diff] [blame] |
THRIFT-391. py: Fix memory leak in fastbinary Author: Alexander Shigin git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@757634 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/py/src/protocol/fastbinary.c b/lib/py/src/protocol/fastbinary.c index 71c0f8d..fd20066 100644 --- a/lib/py/src/protocol/fastbinary.c +++ b/lib/py/src/protocol/fastbinary.c
@@ -479,6 +479,8 @@ Py_DECREF(v); return false; } + Py_DECREF(k); + Py_DECREF(v); } break; }