Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
problem with freeing data
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Mark Bluemel, post: 3466048"] No. It isn't enough. As you don't know what's wrong, I don't see how you think you can decide how much we need to know... In future, please post something complete enough for us to see what's happening - ideally produce the smallest possible self-contained testcase. [snip] Was "word" allocated with malloc/calloc/realloc? We don't know, because you haven't shown us.... [Snip] free(pointer) frees what the pointer points to, no more and no less. (Obviously "pointer" must point to space allocated by one of the malloc family of functions). What is that supposed to mean? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
problem with freeing data
Top