[cc65] memory corruption?

Date view Thread view Subject view

From: MagerValp (MagerValp_at_cling.gu.se)
Date: 2003-06-02 23:57:35


What could make a call to free fail? Suddenly, this code in simplemenu
freezes:

    while (item) {
      next = item->next;
      free(item);
      item = next;
    }

It works fine by itself, but after I use my file selector and load and
convert a file, the free call never returns.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-06-02 23:58:59 CEST