Submitter | phabricator |
---|---|
Date | Oct. 12, 2017, 3:09 p.m. |
Message ID | <differential-rev-PHID-DREV-inai7whpwj7cqb4fnkpe-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/24783/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/mpatch.c b/mercurial/mpatch.c --- a/mercurial/mpatch.c +++ b/mercurial/mpatch.c @@ -36,7 +36,8 @@ a = (struct mpatch_flist *)malloc(sizeof(struct mpatch_flist)); if (a) { - a->base = (struct mpatch_frag *)malloc(sizeof(struct mpatch_frag) * size); + a->base = (struct mpatch_frag *)malloc( + sizeof(struct mpatch_frag) * size); if (a->base) { a->head = a->tail = a->base; return a;