$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
From: ghost_at_[hidden]
Date: 2007-10-22 12:45:50
Author: vladimir_prus
Date: 2007-10-22 12:45:49 EDT (Mon, 22 Oct 2007)
New Revision: 40289
URL: http://svn.boost.org/trac/boost/changeset/40289
Log:
Add missing Py_INCREF on Py_None objects.
Text files modified:
trunk/tools/jam/src/builtins.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
Modified: trunk/tools/jam/src/builtins.c
==============================================================================
--- trunk/tools/jam/src/builtins.c (original)
+++ trunk/tools/jam/src/builtins.c 2007-10-22 12:45:49 EDT (Mon, 22 Oct 2007)
@@ -1704,6 +1704,8 @@
Py_INCREF(func);
r->python_function = func;
+
+ Py_INCREF(Py_None);
return Py_None;
}
@@ -1746,6 +1748,7 @@
new_rule_actions(root_module(), name, newstr(body), bindlist, flags);
+ Py_INCREF(Py_None);
return Py_None;
}