Fix some issues

This commit is contained in:
emanuele-f
2016-04-19 23:35:35 +02:00
parent 7964e11c7f
commit d7548e72b2
3 changed files with 17 additions and 15 deletions
+1
View File
@@ -16,6 +16,7 @@ libndpi_la_include_HEADERS = ../include/ndpi_api.h \
libndpi_la_SOURCES = ndpi_content_match.c.inc \
ndpi_main.c \
ndpi_util.c \
protocols/afp.c \
protocols/aimini.c \
protocols/applejuice.c \
+1
View File
@@ -149,6 +149,7 @@ struct ndpi_workflow * ndpi_workflow_init(const struct ndpi_workflow_prefs * pre
workflow->idle_flows = ndpi_malloc(sizeof(struct ndpi_flow_info *) * workflow->num_idle_flows);
workflow->ndpi_flows_root = ndpi_malloc(sizeof(void *) * workflow->prefs.num_roots);
return workflow;
}
void ndpi_workflow_free(struct ndpi_workflow * workflow) {