libsigrok/hardware
Uwe Hermann 133a37bfba Use g_try_malloc/g_free/g_strdup consistently.
Avoid plain malloc()/free() in sr/srd, especially in the API calls.
Also avoid g_malloc*() in favor of g_try_malloc*().

Use g_strdup() instead of strdup() so that we can use g_free()
consistently everywhere.

Exceptions: Stuff that is allocated via other libs (not using glib),
should also be properly free'd using the respective free-ing function
(instead of g_free()). Examples: Stuff allocated by libusb, libftdi, etc.

Also, use sr_err() instead of sr_warn() for actual errors. sr_warn() is
meant for non-fatal/uncritical warnings.
2012-02-11 22:34:16 +01:00
..
alsa Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
asix-sigma Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
chronovu-la8 Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
common Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
demo sr/cli/gtk: Remove analog left-overs from API. 2012-02-05 15:05:12 +01:00
link-mso19 Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
openbench-logic-sniffer Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
saleae-logic Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
zeroplus-logic-cube Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
Makefile.am Add initial support for the ChronoVu LA8. 2011-04-04 19:40:30 +02:00