On 7/20/2011 4:10 PM, Isaac Marino Bavaresco wrote: > Em 20/7/2011 16:59, Joe Wronski escreveu: >> On 7/20/2011 2:33 PM, Jason White wrote: >>> will `new objectname();`create a memory leak if it is not assigned to >>> a pointer ? >>> >>> Thanks >>> >> You'll need a pointer to delete the object. If you intend the object >> to be instantiated for the duration of program, it shouldn't be a >> problem with no pointer. > > But to begin, it would be hard to use the object if nothing points to it. That! --=20 Joe Wronski Stillwater Embedded Engineering www.stillwatereng.net --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .