Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/libs/function/src/tudf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2284,8 +2284,8 @@ int32_t doCallUdfScalarFunc(UdfcFuncHandle handle, SScalarParam *input, int32_t
int32_t err = callUdf(handle, callType, &inputBlock, NULL, NULL, &resultBlock, NULL);
if (err == 0) {
err = convertDataBlockToScalarParm(&resultBlock, output);
taosArrayDestroy(resultBlock.pDataBlock);
}
taosArrayDestroy(resultBlock.pDataBlock);

blockDataFreeRes(&inputBlock);
return err;
Expand Down
3 changes: 1 addition & 2 deletions test/ci/cases.task
Original file line number Diff line number Diff line change
Expand Up @@ -448,8 +448,7 @@
#,,y,.,./ci/pytest.sh pytest cases/12-UDFs/test_udf_py.py
#,,y,.,./ci/pytest.sh pytest cases/12-UDFs/test_udf_with_const.py
,,y,.,./ci/pytest.sh pytest cases/12-UDFs/test_udf_restart_taosd.py
# Temporarily disable memory leak detection for UDF tests
#,,y,.,./ci/pytest.sh pytest cases/12-UDFs/test_udf_test.py
,,y,.,./ci/pytest.sh pytest cases/12-UDFs/test_udf_test.py
,,n,.,pytest cases/12-UDFs/test_udf_test.py
,,n,.,pytest cases/12-UDFs/test_udf_create.py
,,n,.,pytest cases/12-UDFs/test_udf_cfg1.py
Expand Down
Loading