Skip to content

Commit 785b279

Browse files
alankingtrel
authored andcommitted
[irods/irods#4649] Clear returned microservice parameters
As the return list is cleared after executing a rule, the microservice parameters that are returned need to be properly free'd. Popping them from the list of parameters causes leaking because the inOutStruct and other members are not properly handled.
1 parent 8426865 commit 785b279

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

irods_rule_engine_plugin-python.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ namespace
275275
}
276276
else {
277277
ret_list.append(object_from_msParam(msParams.front()));
278+
clearMsParam(&msParams.front(), 1);
278279
msParams.pop_front();
279280
}
280281

0 commit comments

Comments
 (0)