]> sigrok.org Git - libsigrok.git/commit
Consistently use g_malloc0() for allocating devc.
authorUwe Hermann <redacted>
Fri, 21 Nov 2014 01:26:24 +0000 (02:26 +0100)
committerUwe Hermann <redacted>
Fri, 21 Nov 2014 11:09:01 +0000 (12:09 +0100)
commitf57d8ffe66612a1fdc20ed09c222f8ea59bd84d4
tree00403186630599c48e173cc0bc7ef1119013d754
parentaac29cc192ccf82b64e77b5e6b11b411da32deed
Consistently use g_malloc0() for allocating devc.

We assume the allocation will always succeed, hence no need for
checking the returned value.
34 files changed:
src/hardware/agilent-dmm/api.c
src/hardware/appa-55ii/api.c
src/hardware/asix-sigma/asix-sigma.c
src/hardware/beaglelogic/api.c
src/hardware/brymen-bm86x/api.c
src/hardware/brymen-dmm/api.c
src/hardware/cem-dt-885x/api.c
src/hardware/center-3xx/api.c
src/hardware/chronovu-la/api.c
src/hardware/colead-slm/api.c
src/hardware/fluke-dmm/api.c
src/hardware/fx2lafw/protocol.c
src/hardware/gmc-mh-1x-2x/api.c
src/hardware/hameg-hmo/api.c
src/hardware/ikalogic-scanalogic2/api.c
src/hardware/ikalogic-scanaplus/api.c
src/hardware/kecheng-kc-330b/api.c
src/hardware/lascar-el-usb/protocol.c
src/hardware/link-mso19/api.c
src/hardware/mic-985xx/api.c
src/hardware/norma-dmm/api.c
src/hardware/openbench-logic-sniffer/protocol.c
src/hardware/pipistrello-ols/api.c
src/hardware/rigol-ds/api.c
src/hardware/saleae-logic16/api.c
src/hardware/serial-dmm/api.c
src/hardware/sysclk-lwla/api.c
src/hardware/teleinfo/api.c
src/hardware/tondaj-sl-814/api.c
src/hardware/uni-t-dmm/api.c
src/hardware/uni-t-ut32x/api.c
src/hardware/victor-dmm/api.c
src/hardware/zeroplus-logic-cube/api.c
src/lcr/es51919.c