]> sigrok.org Git - libsigrok.git/commitdiff
siglent-sds: Fix multiple scan-build warnings.
authorUwe Hermann <redacted>
Sat, 19 May 2018 19:58:10 +0000 (21:58 +0200)
committerUwe Hermann <redacted>
Sat, 19 May 2018 20:01:28 +0000 (22:01 +0200)
  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);
                  ^~~~~~~~~~~


No differences found