commit | bfb5d33fe6eecb5ac313f0f3de8ecccc0b55da29 | [log] [tgz] |
---|---|---|
author | Simon Horman <horms@verge.net.au> | Fri Jan 30 11:22:55 2015 +0900 |
committer | Willy Tarreau <w@1wt.eu> | Tue Feb 03 00:24:15 2015 +0100 |
tree | 058bca481ec78ce73f907228f5f96778aeca1b3f | |
parent | b1900d55dfe0211e9ef5c43de23fa63ab32c5674 [diff] |
MEDIUM: Add free_check() helper Add free_check() helper to free the memory allocated by init_check(). Signed-off-by: Simon Horman <horms@verge.net.au>
diff --git a/include/proto/checks.h b/include/proto/checks.h index 1e65652..24dec79 100644 --- a/include/proto/checks.h +++ b/include/proto/checks.h
@@ -45,6 +45,7 @@ } const char *init_check(struct check *check, int type); +void free_check(struct check *check); #endif /* _PROTO_CHECKS_H */