close
Skip to content

ch_http_simple_query: return NULL on OOM#173

Merged
theory merged 1 commit into
mainfrom
free-http
Apr 3, 2026
Merged

ch_http_simple_query: return NULL on OOM#173
theory merged 1 commit into
mainfrom
free-http

Conversation

@serprex
Copy link
Copy Markdown
Member

@serprex serprex commented Apr 2, 2026

consistent with what it does when initial calloc fails, & callers handle NULL as OOM already

also stop leaking conn->dbname on errors

@serprex serprex requested a review from theory April 2, 2026 20:23
@serprex serprex force-pushed the free-http branch 5 times, most recently from 127bbc8 to 5a9b9b7 Compare April 3, 2026 14:48
@theory theory added bug Something isn't working drivers Improve binary and/or http driver support labels Apr 3, 2026
consistent with what it does when initial calloc fails,
& callers handle NULL as OOM already

also stop leaking conn->dbname
@theory theory merged commit b948a38 into main Apr 3, 2026
41 of 42 checks passed
@theory theory deleted the free-http branch April 3, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working drivers Improve binary and/or http driver support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants