[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-cvs
Subject: svn commit: r15519 - branches/python-bindings-improvements/subversion/bindings/swig/python/libsvn_sw
From: djames () tigris ! org
Date: 2005-07-31 20:51:53
Message-ID: 200507312051.j6VKprt28776 () morbius ! ch ! collab ! net
[Download RAW message or body]
Author: djames
Date: Sun Jul 31 15:51:52 2005
New Revision: 15519
Modified:
branches/python-bindings-improvements/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
Log:
* swig/python/libsvn_swig_py.c:
(make_ob_pool): Ensure that the pool "decref" cleanup function is
registered before we call "proxy_set_pool" so that the "decref" cleanup
function will execute after any cleanup functions initialized by
"proxy_set_pool". Followup to r15511.
Modified: branches/python-bindings-improvements/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
Url: http://svn.collab.net/viewcvs/svn/branches/python-bindings-improvements/subversio \
n/bindings/swig/python/libsvn_swig_py/swigutil_py.c?rev=15519&p1=branches/python-bindi \
ngs-improvements/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c&p2=branc \
hes/python-bindings-improvements/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c&r1=15518&r2=15519
==============================================================================
--- branches/python-bindings-improvements/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c (original)
+++ branches/python-bindings-improvements/subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c Sun \
Jul 31 15:51:52 2005 @@ -366,14 +366,15 @@
return NULL;
}
+ apr_pool_cleanup_register((apr_pool_t *)pool, py_pool,
+ svn_swig_py_pool_decref, apr_pool_cleanup_null);
+
if (proxy_set_pool(py_pool, NULL)) {
Py_DECREF(py_pool);
return NULL;
}
Py_INCREF(py_pool);
- apr_pool_cleanup_register((apr_pool_t *)pool, py_pool,
- svn_swig_py_pool_decref, apr_pool_cleanup_null);
return py_pool;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
For additional commands, e-mail: svn-help@subversion.tigris.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic