Skip to content

fix: ensure we test memory allocation for string lists#500

Merged
beckermr merged 2 commits into
masterfrom
string-list-mem
Jun 4, 2026
Merged

fix: ensure we test memory allocation for string lists#500
beckermr merged 2 commits into
masterfrom
string-list-mem

Conversation

@beckermr

@beckermr beckermr commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

closes #499

Comment thread fitsio/fitsio_pywrap.c
Comment thread fitsio/fitsio_pywrap.c
Comment thread fitsio/fitsio_pywrap.c
Comment thread fitsio/fitsio_pywrap.c
Comment thread fitsio/fitsio_pywrap.c
Comment thread fitsio/fitsio_pywrap.c
Co-authored-by: Matthew R. Becker <beckermr@users.noreply.github.com>
@beckermr beckermr marked this pull request as ready for review June 4, 2026 20:59
@beckermr beckermr requested a review from esheldon June 4, 2026 20:59
@beckermr

beckermr commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator Author

@esheldon This is the last of the memory allocation things I noticed. It is ready for review. I need you to take a look at the python reference counting bits. I think I did it right, but would like you to confirm.

@esheldon esheldon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do think those decrefs are correct

@beckermr beckermr merged commit 60235b9 into master Jun 4, 2026
42 checks passed
@beckermr beckermr deleted the string-list-mem branch June 4, 2026 23:41
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.

string list data structure does not check memory allocation

2 participants