On Mon, 3 Nov 1997, ;P wrote:
>i traced the offending lines back to this
> if (d->history) {
> int cnt;
> for (cnt = 0; cnt < HISTORY_SIZE; cnt++)
> if (*d->history)
>--> free(*d->history); <--
> free(d->history);
> }
Oh, that's a thinko if I ever saw one... :)
>so i figured i'd change it to something like:
> if (*d->history[cnt])
> free(d->history[cnt]);
>
>but that crashes my mud..should it be:
> free(*d->history[cnt]);
Yeah, it should be:
if (*d->history[cnt])
free(*d->history[cnt]);
--
George Greer - Me@Null.net | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/08/00 PST