diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-01 19:51:03 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-10-01 19:51:03 +0000 |
commit | ac7f335995b79beb753d72a4fbd61bdef146e6d0 (patch) | |
tree | 7681c5892402575454cde4193441cd26eac4b52f /libao2 | |
parent | 4ef48d517840b878f99a938a87a0efff08e7a12f (diff) |
fixed small memleak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13521 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r-- | libao2/audio_out.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libao2/audio_out.c b/libao2/audio_out.c index b12c6403a4..79419d9d3f 100644 --- a/libao2/audio_out.c +++ b/libao2/audio_out.c @@ -156,6 +156,7 @@ ao_functions_t* init_best_audio_out(char** ao_list,int use_plugin,int rate,int c } } // continue... + free(ao); ++ao_list; if(!(ao_list[0])) return NULL; // do NOT fallback to others } |