aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-07-11 22:18:33 +0000
committerMike Buland <eichlan@xagasoft.com>2007-07-11 22:18:33 +0000
commitc67327f6d1b76de4212e70881ce5ca7e07ab096c (patch)
tree93848ab34a7946c68a19961496132600e5458cf8
parent511467b3245d050f3522e7f5ec2ead05f29627b1 (diff)
downloadlibbu++-c67327f6d1b76de4212e70881ce5ca7e07ab096c.tar.gz
libbu++-c67327f6d1b76de4212e70881ce5ca7e07ab096c.tar.bz2
libbu++-c67327f6d1b76de4212e70881ce5ca7e07ab096c.tar.xz
libbu++-c67327f6d1b76de4212e70881ce5ca7e07ab096c.zip
*whimper*
Diffstat (limited to '')
-rw-r--r--src/list.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/list.h b/src/list.h
index c78b95b..388df7c 100644
--- a/src/list.h
+++ b/src/list.h
@@ -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