Changeset 1081
- Timestamp:
- Jun 8, 2010, 6:04:08 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r1036 r1081 18 18 svndigest 0.7.x series from 19 19 http://dev.thep.lu.se/svndigest/svn/branches/0.7-stable 20 21 Version 0.7.4 (released 8 June 2010) 22 - fixed memory bug in StatsCollection (r1075) 23 24 A complete list of closed tickets can be found here [[br]] 25 http://dev.thep.lu.se/svndigest/query?status=closed&milestone=0.7.4 20 26 21 27 Version 0.7.3 (released 15 February 2010) -
trunk/bin/svndigest.cc
r1073 r1081 2 2 3 3 /* 4 Copyright (C) 2006, 2007, 2008 , 2009Jari Häkkinen, Peter Johansson5 Copyright (C) 20 10 Peter Johansson4 Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson 5 Copyright (C) 2009, 2010 Peter Johansson 6 6 7 7 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 125 125 if (option.verbose()) 126 126 std::cout << "Parsing directory tree" << std::endl; 127 StatsCollectionstats(tree->parse(option.verbose(), option.ignore_cache()));127 const StatsCollection& stats(tree->parse(option.verbose(), option.ignore_cache())); 128 128 129 129 if (option.report()) { -
trunk/lib/StatsCollection.cc
r978 r1081 4 4 Copyright (C) 2007 Peter Johansson 5 5 Copyright (C) 2008 Jari Häkkinen, Peter Johansson 6 Copyright (C) 2009 Peter Johansson6 Copyright (C) 2009, 2010 Peter Johansson 7 7 8 8 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 51 51 StatsCollection::~StatsCollection(void) 52 52 { 53 for (map:: const_iterator i(stats_.begin()); i!=stats_.end(); ++i) {53 for (map::iterator i(stats_.begin()); i!=stats_.end(); ++i) { 54 54 assert(i->second); 55 55 delete i->second; 56 i->second = NULL; 56 57 } 57 58 58 } 59 59 -
trunk/lib/StatsCollection.h
r978 r1081 7 7 Copyright (C) 2007 Peter Johansson 8 8 Copyright (C) 2008 Jari Häkkinen, Peter Johansson 9 Copyright (C) 2010 Peter Johansson 9 10 10 11 This file is part of svndigest, http://dev.thep.lu.se/svndigest … … 86 87 87 88 private: 89 // copy not allowed 90 StatsCollection(const StatsCollection&); 91 StatsCollection& operator=(const StatsCollection&); 92 88 93 const std::string path_; 89 94 typedef std::map<std::string, Stats*> map;
Note: See TracChangeset
for help on using the changeset viewer.