Mercurial > mplayer.hg
changeset 8979:eaee773aee9c
10l :)
author | arpi |
---|---|
date | Sat, 18 Jan 2003 01:06:05 +0000 |
parents | fc15b08926e0 |
children | 16fa828e3d4c |
files | libao2/ao_plugin.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_plugin.c Sat Jan 18 00:43:01 2003 +0000 +++ b/libao2/ao_plugin.c Sat Jan 18 01:06:05 2003 +0000 @@ -124,7 +124,7 @@ // Create list of plugins from cfg option int i=0; if(ao_plugin_cfg.plugin_list){ - config = malloc(strlen(ao_plugin_cfg.plugin_list)); + config = malloc(strlen(ao_plugin_cfg.plugin_list)+1); if(!config) return 0; if(!strcpy(config, ao_plugin_cfg.plugin_list) || !add_plugin(i,config)){ free(config);