Skip to content

Commit 5c8fb1d

Browse files
committed
Fixed memory leak in pattern cleanup.
1 parent a666f07 commit 5c8fb1d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

source/base/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#define OFFICIAL_VERSION_STRING "3.7.1"
4646
#define OFFICIAL_VERSION_NUMBER 371
4747

48-
#define POV_RAY_PRERELEASE "alpha.8596557"
48+
#define POV_RAY_PRERELEASE "alpha.8600570"
4949

5050
#if (POV_RAY_IS_AUTOBUILD == 1) && ((POV_RAY_IS_OFFICIAL == 1) || (POV_RAY_IS_SEMI_OFFICIAL == 1))
5151
#ifdef POV_RAY_PRERELEASE

source/core/material/pattern.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,9 @@ BasicPattern::BasicPattern(const BasicPattern& obj) :
264264
}
265265

266266
BasicPattern::~BasicPattern()
267-
{}
267+
{
268+
Destroy_Warps(warps);
269+
}
268270

269271
int BasicPattern::GetNoiseGen(const TraceThreadData *pThread) const
270272
{

unix/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.1-alpha.8596557
1+
3.7.1-alpha.8600570

0 commit comments

Comments
 (0)