libsigrok/output
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
..
text Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
Makefile.am sr: Remove useless filename prefixes. 2012-01-03 20:01:02 +01:00
analog.c Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
binary.c Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
chronovu_la8.c Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
csv.c sr: input/output: Mark more symbols with SR_PRIV. 2012-02-05 15:05:13 +01:00
gnuplot.c Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
ols.c Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00
output.c sr: input/output: Mark more symbols with SR_PRIV. 2012-02-05 15:05:13 +01:00
vcd.c Use g_try_malloc/g_free/g_strdup consistently. 2012-02-11 22:34:16 +01:00