daily pastebin goal
13%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Index: linux/freebob/JackFreebobDriver.cpp
  2. ===================================================================
  3. --- linux/freebob/JackFreebobDriver.cpp (revision 729)
  4. +++ linux/freebob/JackFreebobDriver.cpp (working copy)
  5. @@ -1078,7 +1078,7 @@
  6.  
  7.              switch (param->character) {
  8.                  case 'd':
  9. -                    device_name = strdup (param->value.str);
  10. +                    device_name = param->value.str;
  11.                      break;
  12.                  case 'p':
  13.                      cmlparams.period_size = param->value.ui;
  14. @@ -1127,7 +1127,6 @@
  15.              nbitems = sscanf(device_name, "hw:%u", &port);
  16.  
  17.              if (nbitems < 1) {
  18. -                free(device_name);
  19.                  printError("device (-d) argument not valid\n");
  20.                  return NULL;
  21.              } else {
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top