• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

amazon-aurora / babelfish_extensions / 23888023773
76%
main: 77%

Build:
Build:
LAST BUILD BRANCH: jira-babel-6404-part2
DEFAULT BRANCH: main
Ran 02 Apr 2026 07:31AM UTC
Jobs 1
Files 120
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Apr 2026 06:51AM UTC coverage: 76.324%. First build
23888023773

push

github

Harsh Dubey
Fixing memory leaks observed in ASan (#4690)

This commit fixes memory leaks observed when testing with ASan

1. In the function TdsSendRowDescription() , strdup() allocates memory using the system's malloc(), which is completely outside PostgreSQL's memory management. This means the string stored in relMetaDataInfo->partName[1] lives in malloc-heap, not in any PostgreSQL memory context.
By using pstrdup() , it allocates using palloc() inside the current memory context (MessageContext), so it's properly tracked and will be freed when that context is destroyed.

2. Similarly in the function rewrite_if_condition(), strdup uses malloc which is invisible to PostgreSQL's memory management while pstrdup allocates in the current memory context, which gets cleaned up automatically.

Task: BABEL-6422

Authored by : harshdu@amazon.com

3 of 4 new or added lines in 2 files covered. (75.0%)

50792 of 66548 relevant lines covered (76.32%)

396550.76 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
78.95
contrib/babelfishpg_tds/src/backend/tds/tdsresponse.c
Jobs
ID Job ID Ran Files Coverage
1 23888023773.1 02 Apr 2026 07:31AM UTC 120
76.32
GitHub Action Run
Source Files on build 23888023773
  • Tree
  • List 120
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23888023773
  • 5624d643 on github
  • Next Build on babel-6422-4x (#23888542611)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc