mirror of
https://github.com/simon987/sist2.git
synced 2025-12-15 00:09:12 +00:00
Still WIP..
This commit is contained in:
@@ -65,7 +65,7 @@ void print_json(cJSON *document, const char id_str[SIST_DOC_ID_LEN]) {
|
||||
}
|
||||
|
||||
void index_json_func(tpool_work_arg_shm_t *arg) {
|
||||
// Copy arg to heap because it's going to be free immediately after this function returns
|
||||
// Copy arg to heap because it's going to be freed immediately after this function returns
|
||||
es_bulk_line_t *line = malloc(arg->arg_size);
|
||||
memcpy(line, arg->arg, arg->arg_size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user