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