Code cleanup. (#1246)

ndpi_utils.c: use ndpi_malloc,ndpi_calloc,ndpi_free
genshin_impact.c, git.c, hpvirtgrp.c, http.c, z3950.c: removed "#include stdlib.h"
This commit is contained in:
Vitaly Lavrov
2021-07-16 13:51:54 +02:00
committed by GitHub
parent a6de94a930
commit daf1fbfc7b
6 changed files with 10 additions and 15 deletions
-1
View File
@@ -26,7 +26,6 @@
#define NDPI_CURRENT_PROTO NDPI_PROTOCOL_HTTP
#include "ndpi_api.h"
#include <stdlib.h>
static const char* binary_file_mimes_e[] = { "exe", NULL };
static const char* binary_file_mimes_v[] = { "vnd.ms-cab-compressed", "vnd.microsoft.portable-executable", NULL };