From: Uwe Hermann Date: Thu, 9 Apr 2015 21:13:30 +0000 (+0200) Subject: uni-t-dmm: Add a missing NULL (fixes a crash on Android). X-Git-Tag: libsigrok-0.4.0~534 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b65630f78da2930fb828f6c6388c8655036fe8a4;p=libsigrok.git uni-t-dmm: Add a missing NULL (fixes a crash on Android). This caused an non-terminated driver list, which lead to a crash on Android (at least on ARM). --- diff --git a/src/hardware/uni-t-dmm/api.c b/src/hardware/uni-t-dmm/api.c index 442b5f5a..40ef808a 100644 --- a/src/hardware/uni-t-dmm/api.c +++ b/src/hardware/uni-t-dmm/api.c @@ -402,4 +402,5 @@ SR_PRIV const struct dmm_info *uni_t_dmm_drivers[] = { sr_es519xx_19200_11b_packet_valid, sr_es519xx_19200_11b_parse, NULL ), + NULL };