]> git.pld-linux.org Git - packages/audacity.git/commitdiff
- polished (removed just created memleak)
authorSzymon Siwek <sls@pld-linux.org>
Sun, 16 Oct 2011 14:54:24 +0000 (14:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    portaudio_asihpi_406.patch -> 1.3

portaudio_asihpi_406.patch

index 9c2d8b5da94a4c65807f9d7f12bef04f0a7cbd98..67e58eedcf05aa89d30c3a61458b4e36a5d2011e 100644 (file)
@@ -268,7 +268,7 @@ Index: src/hostapi/asihpi/pa_linux_asihpi.c
                  hpiDevice->adapterType = type;
                  hpiDevice->adapterVersion = version;
                  hpiDevice->adapterSerialNumber = serial;
                  hpiDevice->adapterType = type;
                  hpiDevice->adapterVersion = version;
                  hpiDevice->adapterSerialNumber = serial;
-@@ -746,25 +737,24 @@
+@@ -746,25 +737,25 @@
      PA_UNLESS_( hpiHostApi->allocations = PaUtil_CreateAllocationGroup(), paInsufficientMemory );
  
      hpiHostApi->hostApiIndex = hostApiIndex;
      PA_UNLESS_( hpiHostApi->allocations = PaUtil_CreateAllocationGroup(), paInsufficientMemory );
  
      hpiHostApi->hostApiIndex = hostApiIndex;
@@ -283,8 +283,8 @@ Index: src/hostapi/asihpi/pa_linux_asihpi.c
           * interface and paNoError */
          PA_DEBUG(( "Could not open HPI interface\n" ));
          result = paNoError;
           * interface and paNoError */
          PA_DEBUG(( "Could not open HPI interface\n" ));
          result = paNoError;
--        *hostApi = NULL;
-+        hpiHostApi = NULL;
+         *hostApi = NULL;
++      (&hpiHostApi->baseHostApiRep)->info.deviceCount = 0;
          goto error;
      }
      else
          goto error;
      }
      else
This page took 0.148161 seconds and 4 git commands to generate.