Fossil SCM
A very simple fix to the annotate memory leak problem.
Commit
9929bab702f99839ee3578fe24b6f57ddb01b2a6
Parent
fff43ebb5bc8baa…
1 file changed
-1
-1
| --- src/diff.c | ||
| +++ src/diff.c | ||
| @@ -711,11 +711,10 @@ | ||
| 711 | 711 | p->c.nEdit = 0; |
| 712 | 712 | p->c.nEditAlloc = 0; |
| 713 | 713 | |
| 714 | 714 | /* Clear out the from file */ |
| 715 | 715 | free(p->c.aFrom); |
| 716 | - blob_zero(pParent); | |
| 717 | 716 | |
| 718 | 717 | /* Return no errors */ |
| 719 | 718 | return 0; |
| 720 | 719 | } |
| 721 | 720 | |
| 722 | 721 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -711,11 +711,10 @@ | |
| 711 | p->c.nEdit = 0; |
| 712 | p->c.nEditAlloc = 0; |
| 713 | |
| 714 | /* Clear out the from file */ |
| 715 | free(p->c.aFrom); |
| 716 | blob_zero(pParent); |
| 717 | |
| 718 | /* Return no errors */ |
| 719 | return 0; |
| 720 | } |
| 721 | |
| 722 |
| --- src/diff.c | |
| +++ src/diff.c | |
| @@ -711,11 +711,10 @@ | |
| 711 | p->c.nEdit = 0; |
| 712 | p->c.nEditAlloc = 0; |
| 713 | |
| 714 | /* Clear out the from file */ |
| 715 | free(p->c.aFrom); |
| 716 | |
| 717 | /* Return no errors */ |
| 718 | return 0; |
| 719 | } |
| 720 | |
| 721 |