Thread: C Memory Leak

Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11  
    Programmer, Veteran and Respected Member



    Join Date
    Mar 2007
    Posts
    5,023
    Thanks given
    2,600
    Thanks received
    3,405
    Rep Power
    5000
    [Only registered and activated users can see links. ] is pretty good if you're on a UNIX-based system.

    If you're on Windows I assume Visual Studio has something similar...
    .
    Reply With Quote  
     

  2. #12  
    Registered Member

    Join Date
    Dec 2011
    Posts
    1,998
    Thanks given
    515
    Thanks received
    551
    Rep Power
    403
    Quote Originally Posted by Graham View Post
    [Only registered and activated users can see links. ] is pretty good if you're on a UNIX-based system.

    If you're on Windows I assume Visual Studio has something similar...
    Don't think Windows/VS does. At least not that I know of. I used this code that was given in class

    #include <crtdbg.h>
    int main() {
    _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
    //Code
    }

    Either way, thanks for the help everyone. I'd rep++ you if I could (Not that you care with 5k rep power) but I need to donate for that
    Need Cheap & HQ Promotional Videos & Trailers?
    Feel free to visit my shop by clicking [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]

    Spoiler for Sig too big, use some spoilers :p:
    Reply With Quote  
     

  3. #13  
    fumant viriditas quotidiana

    saifix's Avatar
    Join Date
    Feb 2009
    Age
    24
    Posts
    1,242
    Thanks given
    278
    Thanks received
    955
    Rep Power
    3229
    Quote Originally Posted by SilverNova View Post
    Don't think Windows/VS does. At least not that I know of. I used this code that was given in class

    #include <crtdbg.h>
    int main() {
    _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
    //Code
    }

    Either way, thanks for the help everyone. I'd rep++ you if I could (Not that you care with 5k rep power) but I need to donate for that
    It'd be nice if you kept your question and code there so other people having the same problem can check out your post instead of asking the same thing.
    "Im so bluezd out of my box.
    Im so fkd i canr even sens makeas Smoke blunt 420hash e tizday" - A legendary guy (1993 - 2015)
    Quote Originally Posted by nmopal View Post
    I will be creating a grimy dubstep song using these lyrics and vocaloid please prepare your bodies
    Reply With Quote  
     

  4. Thankful user:


Page 2 of 2 FirstFirst 12

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Delta]Memory Leak
    By Neekage in forum Help
    Replies: 8
    Last Post: 07-13-2010, 04:11 PM
  2. Memory Leak
    By Neekage in forum Help
    Replies: 9
    Last Post: 06-11-2010, 08:32 PM
  3. JDBC memory leak?
    By Hidendra_ in forum Help
    Replies: 6
    Last Post: 07-25-2009, 10:11 PM
  4. JDBC memory leak?
    By Hidendra_ in forum RS2 Server
    Replies: 4
    Last Post: 07-23-2009, 08:04 PM
  5. crazy memory leak
    By veer in forum Images
    Replies: 2
    Last Post: 08-23-2008, 11:36 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •