Skip to content

Free the error in pg_query_free_deparse_comments_result() - #392

Open
R3gardless wants to merge 1 commit into
pganalyze:18-latestfrom
R3gardless:fix-deparse-comments-error-leak
Open

R3gardless wants to merge 1 commit into
pganalyze:18-latestfrom
R3gardless:fix-deparse-comments-error-leak

Conversation

@R3gardless

Copy link
Copy Markdown

Fixes #390.

pg_query_free_deparse_comments_result() now frees the error, like the other pg_query_free_*_result() functions do. test/deparse gets a scanner error case, which fails under Valgrind without the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pg_query_free_deparse_comments_result() does not free the error

1 participant