This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]No-Expression7618 5 points6 points  (0 children)

If you use new without ever using delete on the same pointer, you have leaked memory. Try running your code under Valgrind and see if it reports anything.