##// END OF EJS Templates
lazymanifest: prevent leak when updating an entry more than once...
Augie Fackler -
r24710:909ee6b2 default
parent child Browse files
Show More
@@ -440,6 +440,8 b' static int internalsetitem(lazymanifest '
440 else {
440 else {
441 if (self->lines[pos].deleted)
441 if (self->lines[pos].deleted)
442 self->livelines++;
442 self->livelines++;
443 if (self->lines[pos].from_malloc)
444 free(self->lines[pos].start);
443 start = pos;
445 start = pos;
444 goto finish;
446 goto finish;
445 }
447 }
General Comments 0
You need to be logged in to leave comments. Login now