libsigrok/hardware/serial-dmm
Alexandru Gagniuc 26be4ebef3 serial-dmm: Fix segfault when no device is used
di was initialized as NULL. If no device covered by this driver
is used, di remains NULL. This causes a segmentation fault when
calling clear_instances().

Check for di being NULL.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-06 00:21:45 +01:00
..
Makefile.am Rename tekpower-dmm to serial-dmm. 2012-12-02 14:21:18 +01:00
api.c serial-dmm: Fix segfault when no device is used 2012-12-06 00:21:45 +01:00
protocol.c radioshack-dmm: Integrate into serial-dmm 2012-12-02 22:22:07 +01:00
protocol.h radioshack-dmm: Integrate into serial-dmm 2012-12-02 22:22:07 +01:00