Thread: Memory leak - need help finding

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Chad Johnson
    Join Date
    May 2004
    Posts
    154
    *EDIT* deleting the vector components when the objects were deleted definitely worked. Thanks.

    So with an output parameter like that, being by reference, will the outside not have to delete it? Who deletes it?

    Also, SHOULD I make every class member a pointer?
    Last edited by ChadJohnson; 04-05-2005 at 09:03 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mutex and Shared Memory Segment Questions.
    By MadDog in forum Linux Programming
    Replies: 14
    Last Post: 06-20-2010, 04:04 AM
  2. Question regarding Memory Leak
    By clegs in forum C++ Programming
    Replies: 29
    Last Post: 12-07-2007, 01:57 AM
  3. Memory leak with detached pthreads - how to free?
    By rfk in forum Linux Programming
    Replies: 2
    Last Post: 08-17-2007, 06:50 AM
  4. Huge memory leak
    By durban in forum C++ Programming
    Replies: 3
    Last Post: 11-01-2005, 12:10 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM