Skip to content

Commit 0c1607c

Browse files
committed
Fixed another bug in the user-defined function cleanup.
1 parent c891131 commit 0c1607c

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.8508391"
48+
#define POV_RAY_PRERELEASE "alpha.8508396"
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/vm/fnpovfpu.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1569,7 +1569,9 @@ FunctionVM::CustomFunction::CustomFunction(FunctionVM* pVm, FUNCTION_PTR pFn) :
15691569
{}
15701570

15711571
FunctionVM::CustomFunction::~CustomFunction()
1572-
{}
1572+
{
1573+
mpVm->DestroyFunction(mpFn);
1574+
}
15731575

15741576
GenericFunctionContextPtr FunctionVM::CustomFunction::NewContext(TraceThreadData* pThreadData)
15751577
{

unix/VERSION

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

0 commit comments

Comments
 (0)