##// END OF EJS Templates
lazymanifest: check error return in filter
Augie Fackler -
r27609:ca2d4080 default
parent child Browse files
Show More
@@ -694,6 +694,9 b' static lazymanifest *lazymanifest_filter'
694 goto nomem;
694 goto nomem;
695 }
695 }
696 copy = PyObject_New(lazymanifest, &lazymanifestType);
696 copy = PyObject_New(lazymanifest, &lazymanifestType);
697 if (!copy) {
698 goto nomem;
699 }
697 copy->dirty = true;
700 copy->dirty = true;
698 copy->lines = malloc(self->maxlines * sizeof(line));
701 copy->lines = malloc(self->maxlines * sizeof(line));
699 if (!copy->lines) {
702 if (!copy->lines) {
General Comments 0
You need to be logged in to leave comments. Login now