Re: [SMAUG] segmentation fault2
Re: [SMAUG] segmentation fault2
Try doing something like this,
if( point )
STRFREE( point );
That will stop it from STRFREEing a null pointer.
Have fun, ;)
--Noplex
Implmentor of Crimson Blade
http://www.crimsonblade.org
telnet://crimsonblade.org:8888
----- Original Message -----
From: Straud
To: smaug@game.org
Sent: Saturday, December 22, 2001 3:59 PM
Subject: [SMAUG] segmentation fault2
okay I can make anew char and save it when the new character quits I get
these bugs and when an old player enters thier password I get them then the
servers gives a segmentation fault and reboots I have done no code changes
to db.c the only changes that where made prior to this happening are listee
in my previous post
Sat Dec 22 16:54:29 2001 :: [*****] BUG: Freeing null pointer db.c:2903
STRFREEing NULL in db.c, line 2903
Sat Dec 22 16:54:29 2001 :: [*****] BUG: Freeing null pointer db.c:2905
STRFREEing NULL in db.c, line 2905