[Bro] deleting objects passed to BiF event handlers
jamesfhook at gmail.com
Sat Oct 19 16:35:33 PDT 2013
I've just been working through the example of creating built in functions
I have a quick question about what the design pattern should be for
deleting objects created and passed to the firing event handler. For
example, in the code below, is deleting the msg pointer likely to cause
problems to QueueEvent?
Or does the StringVal class do something clever behind the scenes to stop
Many thanks in advance
msg = new StringVal("Hello, World!");
val_list *vl = new val_list;
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bro