Fix double free

This commit is contained in:
Breno Silva 2013-06-13 02:11:24 -07:00
parent 885eeecefb
commit 034bf19121

View File

@ -130,8 +130,10 @@ static int unicode_map_create(directory_config *dcfg, char **error_msg)
apr_file_close(u_map->map);
free(buf);
buf = NULL;
if(buf) {
free(buf);
buf = NULL;
}
return 1;
}