[PATCH] parsers: fix memory leak in compute_phases_map_sets

Bryan O'Sullivan bos at serpentine.com
Fri Aug 7 05:41:46 CDT 2015


On Fri, Aug 7, 2015 at 7:01 AM, Laurent Charignon <lcharignon at fb.com> wrote:

> +                       rev = PyInt_FromLong(i);
>

You forgot to check the return value for NULL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150807/a7bc65c8/attachment.html>


More information about the Mercurial-devel mailing list