]> sigrok.org Git - libsigrok.git/commit
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)
commitb4580cb9d069594e561d79b4fc3d53aaff246f90
tree872d17d6f5712c6b5afd8a6592c13aeacb16804a
parentd5db6ea7e17b5f8b8f13dd67fdb7e126931fdb05
siglent-sds: Fix multiple scan-build warnings.

  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);
                  ^~~~~~~~~~~
src/hardware/siglent-sds/api.c