13 Answered Questions

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

17 Answered Questions

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

  • 2009-03-17 15:29:09
  • Scott
  • 115902 View
  • 540 Score
  • 17 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
  • 64768 View
  • 390 Score
  • 11 Answer
  • Tags:   c size pointers free

8 Answered Questions

[SOLVED] How to track down a "double free or corruption" error

  • 2010-05-25 04:46:18
  • neuromancer
  • 219221 View
  • 81 Score
  • 8 Answer
  • Tags:   c++ c debugging free

8 Answered Questions

8 Answered Questions

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

  • 2009-12-24 06:49:06
  • user238082
  • 72089 View
  • 59 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?

3 Answered Questions

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

  • 2015-01-10 13:51:16
  • Ashish Patil
  • 830 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
  • 1720 View
  • 1 Score
  • 1 Answer
  • Tags:   c malloc free

1 Answered Questions

10 Answered Questions

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

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

5 Answered Questions

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

12 Answered Questions

[SOLVED] Unable to free const pointers in C

  • 2010-05-12 14:08:13
  • lego69
  • 46400 View
  • 68 Score
  • 12 Answer
  • Tags:   c constants free

5 Answered Questions

[SOLVED] Should I free memory before exit?

8 Answered Questions

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

3 Answered Questions

[SOLVED] malloc implementation?

2 Answered Questions

[SOLVED] Where do malloc() and free() store allocated sizes and addresses?

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

7 Answered Questions

5 Answered Questions

[SOLVED] Problem usage memory in C

2 Answered Questions

[SOLVED] C - Accessing data AFTER memory has been free()ed?

4 Answered Questions

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

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

7 Answered Questions

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

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

7 Answered Questions

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
  • 5525 View
  • 48 Score
  • 9 Answer
  • Tags:   c memory free malloc

7 Answered Questions

[SOLVED] Is free() zeroing out memory?

6 Answered Questions

10 Answered Questions

4 Answered Questions

[SOLVED] What happens to memory after free()?

4 Answered Questions

[SOLVED] Why free() doesn't really frees memory?

  • 2013-02-28 15:31:46
  • Pedro Alves
  • 1353 View
  • 3 Score
  • 4 Answer
  • Tags:   c malloc free