Code cleanup. Added coveralls badge

This commit is contained in:
Luca Deri
2016-11-27 10:57:42 +01:00
parent 424fbb710c
commit 45ca2ace0b
4 changed files with 1097 additions and 1097 deletions
+1
View File
@@ -2,6 +2,7 @@
# nDPI # nDPI
[![Build Status](https://travis-ci.org/ntop/nDPI.png?branch=dev)](https://travis-ci.org/ntop/nDPI) [![Build Status](https://travis-ci.org/ntop/nDPI.png?branch=dev)](https://travis-ci.org/ntop/nDPI)
[![Coverage Status](https://coveralls.io/repos/github/ntop/nDPI/badge.svg?branch=dev)](https://coveralls.io/github/ntop/nDPI?branch=dev)
## What is nDPI ? ## What is nDPI ?
-1
View File
@@ -74,7 +74,6 @@ void ndpi_free_flow_info_half(struct ndpi_flow_info *flow) {
if(flow->ndpi_flow) { ndpi_free_flow(flow->ndpi_flow); flow->ndpi_flow = NULL; } if(flow->ndpi_flow) { ndpi_free_flow(flow->ndpi_flow); flow->ndpi_flow = NULL; }
if(flow->src_id) { ndpi_free(flow->src_id); flow->src_id = NULL; } if(flow->src_id) { ndpi_free(flow->src_id); flow->src_id = NULL; }
if(flow->dst_id) { ndpi_free(flow->dst_id); flow->dst_id = NULL; } if(flow->dst_id) { ndpi_free(flow->dst_id); flow->dst_id = NULL; }
} }
/* ***************************************************** */ /* ***************************************************** */