Em Thu, Mar 22, 2018 at 10:14:48AM +0100, Jiri Olsa escreveu:
> On Thu, Mar 22, 2018 at 12:57:32AM +0100, Petr Machata wrote:
> > Python None objects are handled just like all the other objects with
> > respect to their reference counting. Before returning Py_None, its
> > reference count thus need
On Thu, Mar 22, 2018 at 12:57:32AM +0100, Petr Machata wrote:
> Python None objects are handled just like all the other objects with
> respect to their reference counting. Before returning Py_None, its
> reference count thus needs to be bumped.
>
> Signed-off-by: Petr Machata
Acked-by: Jiri Olsa
Python None objects are handled just like all the other objects with
respect to their reference counting. Before returning Py_None, its
reference count thus needs to be bumped.
Signed-off-by: Petr Machata
---
tools/perf/util/python.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff
3 matches
Mail list logo