atutil: Add missing va_end

This commit is contained in:
Denis Kenzior 2019-11-13 16:53:36 -06:00
parent a847ccf82c
commit 4a078b353b
1 changed files with 1 additions and 0 deletions

View File

@ -766,6 +766,7 @@ GAtChat *at_util_open_device(struct ofono_modem *modem, const char *key,
g_hash_table_insert(options, tty_option, value);
tty_option = (gpointer) va_arg(args, const char *);
}
va_end(args);
}
channel = g_at_tty_open(device, options);