Replaces free() with ndpi_free()
This commit is contained in:
@@ -96,7 +96,7 @@ size_t ndpi_filter_size(ndpi_filter *f) {
|
|||||||
char *buf;
|
char *buf;
|
||||||
size_t s = ndpi_bitmap_serialize(f, &buf);
|
size_t s = ndpi_bitmap_serialize(f, &buf);
|
||||||
|
|
||||||
if(buf) free(buf);
|
if(buf) ndpi_free(buf);
|
||||||
return(s);
|
return(s);
|
||||||
} else
|
} else
|
||||||
return(0);
|
return(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user