Hi

The event_add function takes client_session and session_request
arguments but these are not used for anything. There is no way of
accessing these from within a plugin and they are not accessed
anywhere else.

Also if an event added with the client_session and session_request of a
request outlives that request, we will have two pointers to freed
memory stored which may cause trouble.

Removing these will save memory and simplify the plugin api.

--
Sonny

Attachment: 0001-plugin-Remove-sr-and-cs-members-from-plugin_event-st.patch
Description: Binary data

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to