]> jfr.im git - irc/gameservirc.git/commit - gameserv/list.h
Fixed the bug that would cause a segfault when load_gs_dbase() was called. I was...
authorgameserv <redacted>
Thu, 16 Oct 2003 18:01:30 +0000 (18:01 +0000)
committergameserv <redacted>
Thu, 16 Oct 2003 18:01:30 +0000 (18:01 +0000)
commitcbf6551f8b3351fadcc1c5d82d193c24313a23bf
tree77b5370a2299bd955c6cccbad0e7b78ea8104b57
parent045214f8e09a17db061d5aa96e858f0582bd6cd7
Fixed the bug that would cause a segfault when load_gs_dbase() was called. I was using delete
this in the Player::reset() function, which was causing the pointer to the player to be deleted.
In reality all I wanted was to delete the name and password IF they had memory. I did not
realize that delete did more than simply calling the deconstructor.

git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@11 bc333340-6410-0410-a689-9d09f3c113fa
gameserv/aClient.cpp
gameserv/gameserv.cpp
gameserv/list.h
gameserv/player.cpp