Skip to content

Commit

Permalink
vsthrottle: Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
dridi committed Mar 20, 2019
1 parent 99837dc commit f1bcfa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmod_vsthrottle.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ run_gc(double now, unsigned part)
CHECK_OBJ_NOTNULL(x, TBUCKET_MAGIC);
if (now - x->last_used > x->period) {
VRB_REMOVE(tbtree, buckets, x);
free(x);
FREE_OBJ(x);
}
}
}
Expand Down

0 comments on commit f1bcfa6

Please sign in to comment.