Typo: occured -> occurred
[babeltrace.git] / src / argpar / argpar.c
index 8cc20cd77490f37a24f169b8d07d7feb2f564ade..ad56838fad853f15629a06f25dcec82b91d07d85 100644 (file)
@@ -60,6 +60,7 @@ char *argpar_vasprintf(const char *fmt, va_list args)
        ARGPAR_ASSERT(len1 == len2);
 
 end:
+       va_end(args2);
        return str;
 }
 
@@ -603,7 +604,7 @@ struct argpar_parse_ret argpar_parse(unsigned int argc,
        goto end;
 
 error:
-       /* That's how we indicate that an error occured */
+       /* That's how we indicate that an error occurred */
        destroy_item_array(parse_ret.items);
        parse_ret.items = NULL;
 
This page took 0.025386 seconds and 4 git commands to generate.