changeset 24293 | 30e9ee203846 |
parent 24286 | 40528ad1b1e8 |
child 24294 | 3d485727e45e |
--- a/mercurial/manifest.c Wed Mar 11 08:28:56 2015 -0700 +++ b/mercurial/manifest.c Wed Mar 11 13:35:34 2015 -0700 @@ -243,7 +243,7 @@ consumed = pl + 41; flags = PyString_FromStringAndSize(l->start + consumed, l->len - consumed - 1); - if (!flags) { + if (!path || !hash || !flags) { goto bail; } ret = PyTuple_Pack(3, path, hash, flags);