packages: audacity/portaudio_asihpi_406.patch - polished (removed just crea...

sls sls at pld-linux.org
Sun Oct 16 16:54:29 CEST 2011


Author: sls                          Date: Sun Oct 16 14:54:29 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- polished (removed just created memleak)

---- Files affected:
packages/audacity:
   portaudio_asihpi_406.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/audacity/portaudio_asihpi_406.patch
diff -u packages/audacity/portaudio_asihpi_406.patch:1.2 packages/audacity/portaudio_asihpi_406.patch:1.3
--- packages/audacity/portaudio_asihpi_406.patch:1.2	Sat Oct 15 13:06:51 2011
+++ packages/audacity/portaudio_asihpi_406.patch	Sun Oct 16 16:54:24 2011
@@ -268,7 +268,7 @@
                  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;
@@ -283,8 +283,8 @@
           * 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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/audacity/portaudio_asihpi_406.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list