{"action":"created","issue":{"url":"https://api.github.com/repos/ntop/nDPI/issues/89","labels_url":"https://api.github.com/repos/ntop/nDPI/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/ntop/nDPI/issues/89/comments","events_url":"https://api.github.com/repos/ntop/nDPI/issues/89/events","html_url":"https://github.com/ntop/nDPI/issues/89","id":103686459,"number":89,"title":"Can the packet be freed after being fed to ndpi_detection_process_packet()?","user":{"login":"rs-natano","id":8235853,"avatar_url":"https://avatars.githubusercontent.com/u/8235853?v=3","gravatar_id":"","url":"https://api.github.com/users/rs-natano","html_url":"https://github.com/rs-natano","followers_url":"https://api.github.com/users/rs-natano/followers","following_url":"https://api.github.com/users/rs-natano/following{/other_user}","gists_url":"https://api.github.com/users/rs-natano/gists{/gist_id}","starred_url":"https://api.github.com/users/rs-natano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs-natano/subscriptions","organizations_url":"https://api.github.com/users/rs-natano/orgs","repos_url":"https://api.github.com/users/rs-natano/repos","events_url":"https://api.github.com/users/rs-natano/events{/privacy}","received_events_url":"https://api.github.com/users/rs-natano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-28T09:42:14Z","updated_at":"2015-08-28T18:38:33Z","closed_at":null,"body":"I can't seem to find this information in the documentation. What I have in mind is a usage like that:\r\n\r\n<pre>\r\nndpi_detection_process_packet(..., packet, ...);\r\nfree(packet);\r\n</pre>\r\n\r\nThis seemed to work with nDPI 1.5.1, but after upgrading to 1.7.0 that produces segfaults (to be investigated)."},"comment":{"url":"https://api.github.com/repos/ntop/nDPI/issues/comments/135856417","html_url":"https://github.com/ntop/nDPI/issues/89#issuecomment-135856417","issue_url":"https://api.github.com/repos/ntop/nDPI/issues/89","id":135856417,"user":{"login":"natano","id":27127,"avatar_url":"https://avatars.githubusercontent.com/u/27127?v=3","gravatar_id":"","url":"https://api.github.com/users/natano","html_url":"https://github.com/natano","followers_url":"https://api.github.com/users/natano/followers","following_url":"https://api.github.com/users/natano/following{/other_user}","gists_url":"https://api.github.com/users/natano/gists{/gist_id}","starred_url":"https://api.github.com/users/natano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natano/subscriptions","organizations_url":"https://api.github.com/users/natano/orgs","repos_url":"https://api.github.com/users/natano/repos","events_url":"https://api.github.com/users/natano/events{/privacy}","received_events_url":"https://api.github.com/users/natano/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T18:38:33Z","updated_at":"2015-08-28T18:38:33Z","body":"Yes, on latest git the issue is far less severe. One segfault remains though, please see https://github.com/ntop/nDPI/pull/91."}}