diff options
author | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2014-06-18 23:37:56 (GMT) |
---|---|---|
committer | Jerome Soumagne <jsoumagne@hdfgroup.org> | 2014-06-18 23:37:56 (GMT) |
commit | 9806774a8d873c2c1341f2b0817599b8cbd8abf5 (patch) | |
tree | 8e2cf5b3def506ecae957dde59f72d9c22d73fcd /src/H5VLiod_analysis.c | |
parent | ba47a8ee822ba2bc5f4a6e37fc06d5f41b7f5933 (diff) | |
download | hdf5-9806774a8d873c2c1341f2b0817599b8cbd8abf5.zip hdf5-9806774a8d873c2c1341f2b0817599b8cbd8abf5.tar.gz hdf5-9806774a8d873c2c1341f2b0817599b8cbd8abf5.tar.bz2 |
[svn-r25327] Uncomment Py_XDECREF
Diffstat (limited to 'src/H5VLiod_analysis.c')
-rw-r--r-- | src/H5VLiod_analysis.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/H5VLiod_analysis.c b/src/H5VLiod_analysis.c index 2117b4f..2e05bbc 100644 --- a/src/H5VLiod_analysis.c +++ b/src/H5VLiod_analysis.c @@ -354,7 +354,7 @@ H5VL__iod_load_script(const char *script, const char *func_name) ret_value = po_func; done: - //Py_DECREF(po_rstring); + Py_DECREF(po_rstring); return ret_value; } /* end H5VL__iod_load_script() */ @@ -599,10 +599,10 @@ H5VL__iod_split(const char *split_script, void *data, size_t num_elmts, done: /* Cleanup */ - //Py_XDECREF(po_func); - //Py_XDECREF(po_args_tup); - //Py_XDECREF(po_numpy_array); - //Py_XDECREF(po_numpy_array_split); + Py_XDECREF(po_func); + Py_XDECREF(po_args_tup); + Py_XDECREF(po_numpy_array); + Py_XDECREF(po_numpy_array_split); return ret_value; } /* end H5VL__iod_split() */ @@ -680,12 +680,12 @@ H5VL__iod_combine(const char *combine_script, void **split_data, size_t *split_n done: /* Cleanup */ - //Py_XDECREF(po_func); - //Py_XDECREF(po_args_tup); + Py_XDECREF(po_func); + Py_XDECREF(po_args_tup); for(i = 0; i < count; i++) { - //Py_XDECREF(po_numpy_arrays + i); + Py_XDECREF(po_numpy_arrays + i); } - //Py_XDECREF(po_numpy_array_combine); + Py_XDECREF(po_numpy_array_combine); return ret_value; } @@ -763,12 +763,12 @@ H5VL__iod_integrate(const char *integrate_script, void **combine_data, done: /* Cleanup */ - //Py_XDECREF(po_func); - //Py_XDECREF(po_args_tup); + Py_XDECREF(po_func); + Py_XDECREF(po_args_tup); for(i = 0; i < count; i++) { - //Py_XDECREF(po_numpy_arrays + i); + Py_XDECREF(po_numpy_arrays + i); } - //Py_XDECREF(po_numpy_array_combine); + Py_XDECREF(po_numpy_array_integrate); return ret_value; } |