Messages in this thread | | | Date | Thu, 22 Mar 2018 06:35:59 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH] perf: python: Reference Py_None before returning it |
| |
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 needs to be bumped. > > > > Signed-off-by: Petr Machata <petrm@mellanox.com> > > Acked-by: Jiri Olsa <jolsa@kernel.org>
Thanks, applied.
- Arnaldo
| |