Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75510 - trunk/tools/build/v2/engine
From: steven_at_[hidden]
Date: 2011-11-16 10:37:17


Author: steven_watanabe
Date: 2011-11-16 10:37:15 EST (Wed, 16 Nov 2011)
New Revision: 75510
URL: http://svn.boost.org/trac/boost/changeset/75510

Log:
Fix regression
Text files modified:
   trunk/tools/build/v2/engine/subst.c | 7 +++++--
   1 files changed, 5 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/engine/subst.c
==============================================================================
--- trunk/tools/build/v2/engine/subst.c (original)
+++ trunk/tools/build/v2/engine/subst.c 2011-11-16 10:37:15 EST (Wed, 16 Nov 2011)
@@ -106,6 +106,9 @@
 
 void regex_done()
 {
- hashenumerate( regex_hash, free_regex, (void *)0 );
- hashdone( regex_hash );
+ if ( regex_hash )
+ {
+ hashenumerate( regex_hash, free_regex, (void *)0 );
+ hashdone( regex_hash );
+ }
 }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk