use kore_mem_free() in example module

This commit is contained in:
Joris Vink 2013-07-01 11:52:45 +02:00
parent 51a9e4db9d
commit a2392e645f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}