Minor fixes
Fix a memory leak and an issue (re)-introduced in configure script
This commit is contained in:
@@ -2529,11 +2529,12 @@ static void printFlowsStats() {
|
||||
ndpi_free_bin(¢roids[i]);
|
||||
|
||||
ndpi_free(centroids);
|
||||
|
||||
ndpi_free(bins);
|
||||
ndpi_free(cluster_ids);
|
||||
}
|
||||
}
|
||||
if(bins)
|
||||
ndpi_free(bins);
|
||||
if(cluster_ids)
|
||||
ndpi_free(cluster_ids);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user