]> sigrok.org Git - libsigrok.git/commit
drivers: assign driver_list with g_array_free()
authorfenugrec <redacted>
Mon, 20 Nov 2023 22:19:39 +0000 (17:19 -0500)
committerfenugrec <redacted>
Mon, 20 Nov 2023 22:40:18 +0000 (17:40 -0500)
commitdbb6d86ba6a486be4d1616347e33790c4f343e27
tree737c6113d16cbd5a3135088663e65581ca7de005
parent6986c63d2dbab98725247c11d18119ba154f6569
drivers: assign driver_list with g_array_free()

To make it clear we are free'ing the array while keeping its data, use
the return value from g_array_free(). Keep the cast since ret type
is a gchar*.
src/drivers.c