proto is being strdup'd both in the call to ndpi_set_proto_defaults and inside of that function as well, leaking the memory.