forked from mirrors/kore
use kore_mem_free() in example module
This commit is contained in:
parent
51a9e4db9d
commit
a2392e645f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue