File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
generate/templates/partials Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -182,15 +182,15 @@ void {{ cppClassName }}::{{ cppFunctionName }}Worker::Execute() {
182
182
{%each args|argsInfo as arg %}
183
183
{%if not arg.isSelf %}
184
184
{%if not arg.payloadFor %}
185
- {%if arg.cppClassName == ' GitStrarray ' %}
186
- {%if not arg.isReturn %}
185
+ {%if not arg.isReturn %}
186
+ {%if arg.cppClassName == ' GitStrarray ' %}
187
187
{{ arg.freeFunctionName }}((git_strarray*)baton->{{ arg.name }});
188
188
free ((void *)baton->{{ arg.name }});
189
- {%endif %}
190
- {%elsif not arg.isCallbackFunction %}
191
- {%if not arg.isStructType %}
189
+ {%elsif arg. cppClassName == ' Array ' %}
190
+ free (( void *)baton->{{ arg.name }});
191
+ {%elsif not arg.isCallbackFunction %}
192
192
{%if not arg.isStructType %}
193
- {%if not arg.isReturn %}
193
+ {%if not arg.isStructType %}
194
194
{%if not arg.isPayload %}
195
195
{%if arg.name %}
196
196
{%if arg.cppClassName == ' String' %}
You can’t perform that action at this time.
0 commit comments