hunk: unconditionally free optional contents
Dependencies
- [2]
PC54CREYhunk: free hunk list resources properly - [3]
5D2IYPL7change: introduce changestore, print deleted lines - [*]
JAGXXSR7change: initial work on decoding hunks
Change contents
- replacement in hunk.c at line 68
/* if (b->filedel.contents) *//* atomfree(&b->filedel.contents); *//* FIXME this is optional */atomfree(&b->filedel.contents); - replacement in hunk.c at line 76
/* FIXME check for optional fileundel.contents *//* FIXME this is optional */atomfree(&b->fileundel.contents); - replacement in hunk.c at line 85
/* if (b->fileadd.contents) *//* atomfree(&b->fileadd.contents); *//* FIXME this is optional */atomfree(&b->fileadd.contents);