Thread: C Memory Leak

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




    Join Date
    Mar 2007
    Posts
    5,147
    Thanks given
    2,656
    Thanks received
    3,731
    Rep Power
    5000
    Valgrind 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  

    → Cheap Animated Banners ←



    Zexillium's Avatar
    Join Date
    Dec 2011
    Posts
    2,780
    Thanks given
    1,174
    Thanks received
    1,155
    Rep Power
    3284
    Quote Originally Posted by Graham View Post
    Valgrind 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
    New Discord is 'zexillium'
    ↓ PROUD SUPPORTER OF ↓

    Attached image

    --> See My Animated Banner Shop <--
    Reply With Quote  
     

  3. #13  
    fumant viriditas quotidiana

    saifix's Avatar
    Join Date
    Feb 2009
    Age
    30
    Posts
    1,237
    Thanks given
    275
    Thanks received
    957
    Rep Power
    3304
    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)


User Tag List

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
  •