Skip to content

Commit

Permalink
Replaces free() with ndpi_free()
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaderi committed Aug 14, 2023
1 parent 049fbf8 commit cfbb7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ndpi_filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ size_t ndpi_filter_size(ndpi_filter *f) {
char *buf;
size_t s = ndpi_bitmap_serialize(f, &buf);

if(buf) free(buf);
if(buf) ndpi_free(buf);
return(s);
} else
return(0);
Expand Down

0 comments on commit cfbb7a4

Please sign in to comment.