diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-07-11 22:18:33 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-07-11 22:18:33 +0000 |
commit | c67327f6d1b76de4212e70881ce5ca7e07ab096c (patch) | |
tree | 93848ab34a7946c68a19961496132600e5458cf8 | |
parent | 511467b3245d050f3522e7f5ec2ead05f29627b1 (diff) | |
download | libbu++-c67327f6d1b76de4212e70881ce5ca7e07ab096c.tar.gz libbu++-c67327f6d1b76de4212e70881ce5ca7e07ab096c.tar.bz2 libbu++-c67327f6d1b76de4212e70881ce5ca7e07ab096c.tar.xz libbu++-c67327f6d1b76de4212e70881ce5ca7e07ab096c.zip |
*whimper*
-rw-r--r-- | src/list.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -434,11 +434,12 @@ namespace Bu | |||
434 | va.destroy( pCur->pValue ); | 434 | va.destroy( pCur->pValue ); |
435 | va.deallocate( pCur->pValue, 1 ); | 435 | va.deallocate( pCur->pValue, 1 ); |
436 | pFirst = pCur->pNext; | 436 | pFirst = pCur->pNext; |
437 | pFirst->pPrev = NULL; | ||
438 | la.destroy( pCur ); | 437 | la.destroy( pCur ); |
439 | la.deallocate( pCur, 1 ); | 438 | la.deallocate( pCur, 1 ); |
440 | if( pFirst == NULL ) | 439 | if( pFirst == NULL ) |
441 | pLast = NULL; | 440 | pLast = NULL; |
441 | else | ||
442 | pFirst->pPrev = NULL; | ||
442 | nSize--; | 443 | nSize--; |
443 | } | 444 | } |
444 | else | 445 | else |