@@ -30,7 +30,8 @@ char **smedl_argv;
3030 * variables. Sensible defaults are provided, but the target program can
3131 * override them if desired. */
3232int smedl_argc = 1 ;
33- char * * smedl_argv = {"{{syncset}}" , NULL };
33+ char * smedl_argv_default [] = {"{{syncset}}" , NULL };
34+ char * * smedl_argv = smedl_argv_default ;
3435{% endif %}
3536
3637/* Manager event queue */
@@ -136,9 +137,9 @@ int process_queue(void) {
136137 {% if conn .source_mon is not none %}
137138 {% for param_type in conn .source_mon .params %}
138139 {% if param_type is sameas SmedlType .STRING %}
139- free (identites [{{loop .index0 }}].v .s );
140+ free (identities [{{loop .index0 }}].v .s );
140141 {% elif param_type is sameas SmedlType .OPAQUE %}
141- free (identites [{{loop .index0 }}].v .o .data );
142+ free (identities [{{loop .index0 }}].v .o .data );
142143 {% endif %}
143144 {% endfor %}
144145 {% endif %}
@@ -157,9 +158,9 @@ int process_queue(void) {
157158 {% if conn .source_mon is not none %}
158159 {% for param_type in conn .source_mon .params %}
159160 {% if param_type is sameas SmedlType .STRING %}
160- free (identites [{{loop .index0 }}].v .s );
161+ free (identities [{{loop .index0 }}].v .s );
161162 {% elif param_type is sameas SmedlType .OPAQUE %}
162- free (identites [{{loop .index0 }}].v .o .data );
163+ free (identities [{{loop .index0 }}].v .o .data );
163164 {% endif %}
164165 {% endfor %}
165166 {% endif %}
0 commit comments