The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Your friend, "realloc", munger of heaps. by LionsPhil 2004-02-10 16:05:14
Confused, I am. If realloc() fails to find enough memory, should one still free()?

Don't tell me to not use realloc().
[ Reply ]
  Don't use realloc(). by Llyr2004-02-10 16:10:42
    *malloc()s all of Llyr's memory* by LionsPhil2004-02-10 16:12:41
  [dev@somebox.fi ~]$ man 3 realloc by wheresthefish2004-02-10 16:19:25
    Ah, but here's the tricky bit. by LionsPhil2004-02-10 16:32:46
      Never mind. by LionsPhil2004-02-10 16:39:59
        free(NULL) can crash some systems by Slamlander2004-02-10 18:20:35
  I assume that you want to retain by Slamlander2004-02-10 18:13:36
  You know, I see that word "realloc" by pk23172004-02-10 19:47:36
    Carnegie Realloc University? by pin0cchio2006-11-19 12:55:59

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)