aboutsummaryrefslogtreecommitdiffstats
path: root/ctimeline.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctimeline.c')
-rw-r--r--ctimeline.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ctimeline.c b/ctimeline.c
index f2a114a..31c0e1b 100644
--- a/ctimeline.c
+++ b/ctimeline.c
@@ -31,10 +31,15 @@ static void prepare_context()
*/
static void forget_context()
{
+ int i;
string_release(ctx.head_title);
string_release(ctx.css);
string_release(ctx.header_title);
string_release(ctx.header_desc);
+ for(i = 0; i < ctx.branches.count; i++) {
+ string_release(ctx.branches.list[i].name);
+ string_release(ctx.branches.list[i].desc);
+ }
free(ctx.branches.list);
}