Fixing the memory leakage is not a todo. Nginx is also leaking memory in the configuration phase  in ngx_conf_file.c when allocating the tokens and not freeing them. If we deallocate here we will cause crashes later on, because the gzip_types ngx_arrays just add them.

The todo would be checking if we can safely allocate once and reuse the same string in these configuration ngx_arrays