Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 8bcbacc

Browse files
author
Fraser J. Gordon
committed
Fix a reference leak in MCD_convert_from_datetime
1 parent e5e59c1 commit 8bcbacc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/src/date.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,6 +1336,7 @@ bool MCD_convert_from_datetime(MCExecPoint &p_context, Convert_form p_primary_to
13361336
}
13371337

13381338
p_context . setvalueref(t_buffer);
1339+
MCValueRelease(t_buffer);
13391340
}
13401341

13411342
return t_success;

0 commit comments

Comments
 (0)