commit a2392e645f9f9d51ab716e1f0f4d5756a83a4cbc
parent 51a9e4db9d86682b08a18b60e5b13fe073844032
Author: Joris Vink <joris@coders.se>
Date: Mon, 1 Jul 2013 11:52:45 +0200
use kore_mem_free() in example module
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);
}