14 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
  • 90207 View
  • 444 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
  • 49811 View
  • 300 Score
  • 11 Answer
  • Tags:   c size pointers free

8 Answered Questions

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

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

7 Answered Questions

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
  • 52837 View
  • 86 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
  • 614 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
  • 1113 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

12 Answered Questions

[SOLVED] Unable to free const pointers in C

  • 2010-05-12 14:08:13
  • lego69
  • 34395 View
  • 48 Score
  • 12 Answer
  • Tags:   c const free

8 Answered Questions

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

5 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
  • 30763 View
  • 46 Score
  • 10 Answer
  • Tags:   c pointers free

3 Answered Questions

[SOLVED] malloc implementation?

2 Answered Questions

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

  • 2009-05-12 09:34:02
  • Elmar Weber
  • 6618 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
  • 592 View
  • 1 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
  • 498 View
  • 3 Score
  • 7 Answer
  • Tags:   c memory struct free

7 Answered Questions

7 Answered Questions

[SOLVED] Is free() zeroing out memory?

6 Answered Questions

10 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
  • 4749 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
  • 29640 View
  • 11 Score
  • 4 Answer
  • Tags:   c linux malloc free

2 Answered Questions

[SOLVED] new, delete ,malloc & free

1 Answered Questions

[SOLVED] Why doesn't CudaFree seem to free memory?

  • 2012-05-01 07:23:22
  • Beau Bellamy
  • 6855 View
  • 8 Score
  • 1 Answer
  • Tags:   memory cuda free

6 Answered Questions

[SOLVED] free() on stack memory

9 Answered Questions

[SOLVED] Why doesn't free(p) set p to NULL?