Hi all.
It does few months started with C++ and in all the books that law says that "The 
Memory assigned by "new" is not freed automaticaly and is not freed manualy it make a 
Memory Leak".
Besides, the books says: "whenever "new" in its program is used, it must have "delete" 
corresponding" 
I was maked a litle script in bash that count all the new and the delete.
This is the results:
 
(fastslack@dragon:~/projects/licq/src$) NewCounter new
525
(fastslack@dragon:~/projects/licq/src$) NewCounter delete
278
(fastslack@dragon:~/projects/licq/src$) 

and

(fastslack@dragon:~/projects/licq/plugins/qt-gui/src$) NewCounter new
940
(fastslack@dragon:~/projects/licq/plugins/qt-gui/src$) NewCounter delete
109
(fastslack@dragon:~/projects/licq/plugins/qt-gui/src$) 

any comments?

-- 
 Matias Aguirre
Software Engineer
   Sinatec S.A.
Linux User #: 78193

Buenos Aires, Argentina

Attachment: NewCounter
Description: Binary data

Reply via email to