14 Answered Questions

[SOLVED] How do malloc() and free() work?

16 Answered Questions

[SOLVED] What REALLY happens when you don't free after malloc?

  • 2009-03-17 15:29:09
  • Scott
  • 87676 View
  • 426 Score
  • 16 Answer
  • Tags:   c malloc free

11 Answered Questions

[SOLVED] How does free know how much to free?

  • 2009-10-05 07:45:31
  • Joshua Cheek
  • 48097 View
  • 291 Score
  • 11 Answer
  • Tags:   c size pointers free

7 Answered Questions

8 Answered Questions

[SOLVED] How do free and malloc work in C?

  • 2009-12-24 06:49:06
  • user238082
  • 61498 View
  • 52 Score
  • 8 Answer
  • Tags:   c memory free malloc

23 Answered Questions

[SOLVED] Setting variable to NULL after free

10 Answered Questions

[SOLVED] Does free(ptr) where ptr is NULL corrupt memory?

  • 2009-12-21 07:43:58
  • Vijay
  • 50851 View
  • 84 Score
  • 10 Answer
  • Tags:   c pointers null free

3 Answered Questions

[SOLVED] How much memory would be freed if pointer is changed in C?

  • 2015-01-10 13:51:16
  • Ashish Patil
  • 595 View
  • -1 Score
  • 3 Answer
  • Tags:   c memory free

1 Answered Questions

[SOLVED] free char*: invalid next size (fast)

  • 2014-04-11 09:03:00
  • noobie
  • 1091 View
  • 1 Score
  • 1 Answer
  • Tags:   c malloc free

1 Answered Questions

5 Answered Questions

[SOLVED] C: Correctly freeing memory of a multi-dimensional array

8 Answered Questions

[SOLVED] Is freeing allocated memory needed when exiting a program in C

4 Answered Questions

[SOLVED] Should I free memory before exit?

10 Answered Questions

[SOLVED] Should one really set pointers to `NULL` after freeing them?

  • 2009-12-10 08:43:26
  • Georg Schölly
  • 30445 View
  • 46 Score
  • 10 Answer
  • Tags:   c pointers free

3 Answered Questions

[SOLVED] malloc implementation?

11 Answered Questions

[SOLVED] Unable to free const pointers in C

  • 2010-05-12 14:08:13
  • lego69
  • 33340 View
  • 45 Score
  • 11 Answer
  • Tags:   c const free

2 Answered Questions

[SOLVED] Where Do malloc() / free() Store Allocated Sizes and Addresses?

  • 2009-05-12 09:34:02
  • Elmar Weber
  • 6537 View
  • 14 Score
  • 2 Answer
  • Tags:   c memory free heap

5 Answered Questions

[SOLVED] Problem usage memory in C

4 Answered Questions

[SOLVED] How are we able to access the pointer after deallocating the memory?

  • 2014-02-26 06:46:55
  • VINOTH ENERGETIC
  • 538 View
  • 1 Score
  • 4 Answer
  • Tags:   c pointers malloc free

7 Answered Questions

7 Answered Questions

[SOLVED] Is free() zeroing out memory?

6 Answered Questions

10 Answered Questions

7 Answered Questions

[SOLVED] Why freed struct in C still has data?

  • 2010-06-02 17:36:29
  • kliketa
  • 493 View
  • 3 Score
  • 7 Answer
  • Tags:   c memory struct free

9 Answered Questions

[SOLVED] If free() knows the length of my array, why can't I ask for it in my own code?

  • 2010-04-16 05:49:03
  • Chris Cooper
  • 4655 View
  • 41 Score
  • 9 Answer
  • Tags:   c memory free malloc

4 Answered Questions

[SOLVED] Code for malloc and free

  • 2011-06-26 17:39:00
  • MetallicPriest
  • 29006 View
  • 11 Score
  • 4 Answer
  • Tags:   c linux malloc free

2 Answered Questions

[SOLVED] new, delete ,malloc & free

6 Answered Questions

[SOLVED] free() on stack memory

7 Answered Questions

[SOLVED] Freeing allocated memory: realloc() vs. free()

5 Answered Questions