date_time: Print Holidays Example

Aren't you supposed to delete new'd objects, or you simply rely that nobody is gonna look/use/copy this piece of code? http://tinyurl.com/8wanl

On Sun, 16 Oct 2005 11:10:13 -0400, __PPS__ wrote
Aren't you supposed to delete new'd objects, or you simply rely that nobody is gonna look/use/copy this piece of code?
Yes they need to be deleted -- I'll put it on the todo list that we need to improve this example code to clean up the memory correctly. Thx, Jeff

Jeff Garland wrote:
On Sun, 16 Oct 2005 11:10:13 -0400, __PPS__ wrote
Aren't you supposed to delete new'd objects, or you simply rely that nobody is gonna look/use/copy this piece of code?
Yes they need to be deleted -- I'll put it on the todo list that we need to improve this example code to clean up the memory correctly. Thx,
Jeff
If that's possible, I could contribute with that: fix minor errors and add syntax highlighting to the code. Let me know if I could help
participants (2)
-
__PPS__
-
Jeff Garland