libsigrok/hardware/openbench-logic-sniffer
Uwe Hermann b53738baf7 Replace g_malloc{0,} with g_try_malloc{0,}.
The g_malloc()/g_malloc0() versions exit/segfault if not enough memory
is available, which is not a good thing in libsigrok.

Instead, we use the g_try_malloc()/g_try_malloc0() variants, which
return NULL if not enough memory is available, so that the caller can
handle the error properly.
2011-04-16 18:08:15 +02:00
..
Makefile.am OLS driver overhaul 2011-04-03 06:18:05 +02:00
ols.c Replace g_malloc{0,} with g_try_malloc{0,}. 2011-04-16 18:08:15 +02:00
ols.h OLS driver overhaul 2011-04-03 06:18:05 +02:00