pike.git / src / stralloc.c

version» Context lines:

pike.git/src/stralloc.c:1114: Inside #if defined(PIKE_DEBUG)
   Pike_fatal("Freeing shared string again, memory corrupt or other bug!\n");    }    if ((s->size_shift < 0) || (s->size_shift > 2)) {    Pike_fatal("Freeing string with bad shift (0x%08x); could it be a type?\n",    s->size_shift);    }   #endif    if (!(s->flags & STRING_NOT_SHARED))    unlink_pike_string(s);    if (s->flags & STRING_CLEAR_ON_EXIT) -  MEMSET(s->str, 0, s->len<<s->size_shift); +  guaranteed_memset(s->str, 0, s->len<<s->size_shift);    free_unlinked_pike_string(s);    GC_FREE_SIMPLE_BLOCK(s);   }      void do_really_free_string(struct pike_string *s)   {    if (s)    really_free_string(s);   }