Browse Source

jack_property: Fix possible crash on "-l ..."

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.9.15
falkTX 5 years ago
parent
commit
70420f4991
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      example-clients/property.c

+ 2
- 3
example-clients/property.c View File

@@ -258,7 +258,7 @@ int main (int argc, char* argv[])
/* list all properties for a given UUID */

jack_description_t description;
size_t cnt, n;
int cnt, n;

if (get_subject (client, argv, &optind)) {
return -1;
@@ -289,9 +289,8 @@ int main (int argc, char* argv[])
/* list all properties */

jack_description_t* description;
int cnt;
int cnt, n;
size_t p;
int n;
char buf[JACK_UUID_STRING_SIZE];

if ((cnt = jack_get_all_properties (&description)) < 0) {


Loading…
Cancel
Save