From a2392e645f9f9d51ab716e1f0f4d5756a83a4cbc Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Mon, 1 Jul 2013 11:52:45 +0200 Subject: [PATCH] use kore_mem_free() in example module --- modules/example/src/example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/example/src/example.c b/modules/example/src/example.c index 3fa90db..bdc0ef0 100644 --- a/modules/example/src/example.c +++ b/modules/example/src/example.c @@ -54,7 +54,7 @@ serve_style_css(struct http_request *req) tstamp = 0; if (http_request_header_get(req, "if-modified-since", &date)) { tstamp = kore_date_to_time(date); - free(date); + kore_mem_free(date); kore_debug("header was present with %ld", tstamp); }