[pulseaudio-discuss] [PATCH 09/10] Implement some functions for win32

Colin Guthrie gmane at colin.guthr.ie
Mon Jan 10 16:28:41 PST 2011


'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/]




More information about the pulseaudio-discuss mailing list