]> sigrok.org Git - sigrok-cli.git/commit
parsers: use common library code to rename sigrok channels
authorGerhard Sittig <redacted>
Tue, 16 Aug 2022 20:14:23 +0000 (22:14 +0200)
committerGerhard Sittig <redacted>
Tue, 16 Aug 2022 20:14:23 +0000 (22:14 +0200)
commit99595de1452934951c0d8311cf5dceef897f9860
tree62d55f01b47f0c542a68c220a7714db949f18ad5
parente8e8b5e1a09563b66e9ef6d475b3c735c8fdc910
parsers: use common library code to rename sigrok channels

Drop an open coded g_free() and g_strdup() sequence which accesses
internal details of a sigrok channel. Use the sr_dev_channel_name_set()
library routine instead.
parsers.c