Changeset 1081


Ignore:
Timestamp:
Jun 8, 2010, 6:04:08 AM (13 years ago)
Author:
Peter Johansson
Message:

merge patch release 0.7.4 into trunk. delta 0.7.4 - 0.7.3

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEWS

    r1036 r1081  
    1818svndigest 0.7.x series from
    1919    http://dev.thep.lu.se/svndigest/svn/branches/0.7-stable
     20
     21Version 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
    2026
    2127Version 0.7.3 (released 15 February 2010)
  • trunk/bin/svndigest.cc

    r1073 r1081  
    22
    33/*
    4   Copyright (C) 2006, 2007, 2008, 2009 Jari Häkkinen, Peter Johansson
    5   Copyright (C) 2010 Peter Johansson
     4  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
     5  Copyright (C) 2009, 2010 Peter Johansson
    66
    77  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    125125  if (option.verbose())
    126126    std::cout << "Parsing directory tree" << std::endl;
    127   StatsCollection stats(tree->parse(option.verbose(), option.ignore_cache()));
     127  const StatsCollection& stats(tree->parse(option.verbose(), option.ignore_cache()));
    128128
    129129  if (option.report()) {
  • trunk/lib/StatsCollection.cc

    r978 r1081  
    44  Copyright (C) 2007 Peter Johansson
    55  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
    6   Copyright (C) 2009 Peter Johansson
     6  Copyright (C) 2009, 2010 Peter Johansson
    77
    88  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    5151  StatsCollection::~StatsCollection(void)
    5252  {
    53     for (map::const_iterator i(stats_.begin()); i!=stats_.end(); ++i) {
     53    for (map::iterator i(stats_.begin()); i!=stats_.end(); ++i) {
    5454      assert(i->second);
    5555      delete i->second;
     56      i->second = NULL;
    5657    }
    57 
    5858  }
    5959
  • trunk/lib/StatsCollection.h

    r978 r1081  
    77  Copyright (C) 2007 Peter Johansson
    88  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
     9  Copyright (C) 2010 Peter Johansson
    910
    1011  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    8687
    8788  private:
     89    // copy not allowed
     90    StatsCollection(const StatsCollection&);
     91    StatsCollection& operator=(const StatsCollection&);
     92
    8893    const std::string path_;
    8994    typedef std::map<std::string, Stats*> map;
Note: See TracChangeset for help on using the changeset viewer.