From 20748641c04dc9a692d7bea3697f08c9c884c3d0 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期二, 05 十一月 2024 09:29:31 +0800
Subject: [PATCH] cpp.vm

---
 iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm b/iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm
index e373f3b..939e6ba 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm
+++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/template/cpp.vm
@@ -106,7 +106,12 @@
 
 		delete[] pArg;
 		pArg = nullptr;
-		delete pArg;*/
+		delete pArg;
+
+		Py_DECREF(pReturn);
+		Py_DECREF(pFunc);
+		Py_DECREF(pModule);
+		Py_CLEAR(pModule);*/
 
 		return result;
 	}

--
Gitblit v1.9.3