New: better memory management (GC for return values)
3 views
Skip to first unread message
Polos Ruetz
unread,
Feb 23, 2011, 4:00:07 PM2/23/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to eql-user
The places where memory could be leaked are removed now (e.g. by adding garbage collection for return values). So, practically speaking, you only have to remember 1 rule:
- If you need a local Qt object, use QLET instead of QNEW (e.g. QDialog, QRegExp).
The analogy of LET* and QLET should be sufficient to remember this rule. Please see doc/Notes.htm in the sources for more details.