[PATCH 09/10] Implement some functions for win32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'Twas brillig, and Maarten Bosmans at 06/01/11 01:39 did gyre and gimble:
> @@ -2565,7 +2569,11 @@ void pa_unset_env_recorded(void) {
>          if (!s)
>              break;
>  
> +#ifdef OS_IS_WIN32
> +        putenv(pa_sprintf_malloc("%s=", s));
> +#else
>          unsetenv(s);
> +#endif
>          pa_xfree(s);
>      }
>  }


This looks leaky....

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux