Skip to content

Commit

Permalink
Fixed memory leak in pattern cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
c-lipka committed May 8, 2016
1 parent a666f07 commit 5c8fb1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/base/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#define OFFICIAL_VERSION_STRING "3.7.1"
#define OFFICIAL_VERSION_NUMBER 371

#define POV_RAY_PRERELEASE "alpha.8596557"
#define POV_RAY_PRERELEASE "alpha.8600570"

#if (POV_RAY_IS_AUTOBUILD == 1) && ((POV_RAY_IS_OFFICIAL == 1) || (POV_RAY_IS_SEMI_OFFICIAL == 1))
#ifdef POV_RAY_PRERELEASE
Expand Down
4 changes: 3 additions & 1 deletion source/core/material/pattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ BasicPattern::BasicPattern(const BasicPattern& obj) :
}

BasicPattern::~BasicPattern()
{}
{
Destroy_Warps(warps);
}

int BasicPattern::GetNoiseGen(const TraceThreadData *pThread) const
{
Expand Down
2 changes: 1 addition & 1 deletion unix/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.1-alpha.8596557
3.7.1-alpha.8600570

0 comments on commit 5c8fb1d

Please sign in to comment.