src/hardware/siglent-sds/api.c:596:3: warning: Argument to g_free() is the address of a global variable, which is not memory allocated by malloc()
g_free(cmd);
^~~~~~~~~~~
src/hardware/siglent-sds/api.c:641:3: warning: Argument to g_free() is the address of a global variable, which is not memory allocated by malloc()
g_free(cmd);
^~~~~~~~~~~
int ret, idx;
const char *tmp_str;
char buffer[16];
int ret, idx;
const char *tmp_str;
char buffer[16];
char cmd4[4];
devc = sdi->priv;
char cmd4[4];
devc = sdi->priv;