free() problem

From: Kaun Lazaro (circle_777@hotmail.com)
Date: 01/30/01


ok I really need help with this one, I've never bothered to free up memory
befor (uniffant? yep) and now I'm having some problems with genobj.c's
free_object_string_proto the lines are:

-- MAILER CODE --
  if (obj->short_description && obj->short_description !=
obj_proto[robj_num].short_description)
    free(obj->short_description);

the free() line registers with gdb as the bug, now I've made a spell to
alter the short_description of objects, I altered the short_description
successfuly and then saved and quit, it crashed....

Kaun
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/03/01 PST