Displaying 1 result from an estimated 1 matches for "6e39047".
Did you mean:
  643904
  
2009 Oct 06
0
[ao] Two patches for libao2
...0 Aug 2009 22:49:57 +0300
> Subject: [PATCH 1/2] audio_out: Handle strdup()'s return value correctly [CORRECTIVE]
> 
> ---
>  src/audio_out.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/audio_out.c b/src/audio_out.c
> index 88660c0..6e39047 100644
> --- a/src/audio_out.c
> +++ b/src/audio_out.c
> @@ -613,6 +613,7 @@ int ao_append_option(ao_option **options, const char *key, const char *value)
>  
>  	op->key = strdup(key);
>  	op->value = strdup(value);
> +	if (op->key == NULL || op->value == NULL) ret...