"Peter Eisentraut" <peter_e@gmx.net> writes:
> The code in question is:
>
> const char **headers;
>
> [...]
>
> free(headers);
Perhaps it ought not be declared "const char **headers" if you're planning on
freeing it? I mean, it's not like you can pass an actual pointer to constant
memory to this function and expect it to work, and who says free doesn't
modify the data the pointer points to anyways, plenty do.
-- Gregory Stark EnterpriseDB http://www.enterprisedb.com