I always look at it this way: in a tcl-proc (normally) a message is coming in. At the end of this proc you will always need to do something with this message and the messages that you may have created (msgcreat/msgcopy) inside the proc: you will need to KILL or CONTINUE every message.
If you forget to KILL or CONTINUE a message, you will get a memory leak.
So yes, if you don’t ‘release’ (KILL/CONTINUE) the original $mh, you will have a memory leak.
Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands
Author
Replies
Viewing 0 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.