Skip to content

Invoke ih264d_free_dynamic_bufs() in ih264d_allocate_dynamic_bufs() - #142

Merged
harishdm merged 1 commit into
ittiam-systems:mainfrom
harishdm:allocate
Jul 13, 2026
Merged

harishdm merged 1 commit into
ittiam-systems:mainfrom
harishdm:allocate

Conversation

@harishdm

Copy link
Copy Markdown
Member

This will ensure that any memory that is allocated before and not yet freed, will be freed. This is done as a precaution to ensure there are no leaks.

@harishdm
harishdm requested review from rakeshnitb and ram-mohan July 10, 2026 16:40
@harishdm
harishdm marked this pull request as draft July 10, 2026 17:11
In order do this, moved freeing of dynamic bitstream buffer outside free_dynamic_bufs() call.
This allocation is not done inside allocate_dynamic_bufs() and hence shouldn't be freed in free_dynamic_bufs().

This will ensure that any memory that is allocated before and not yet freed, will be freed.
This is done as a precaution to ensure there are no leaks.
@harishdm
harishdm marked this pull request as ready for review July 10, 2026 18:38
@rakeshnitb

Copy link
Copy Markdown
Collaborator

LGTM

@harishdm
harishdm merged commit a7bf2e9 into ittiam-systems:main Jul 13, 2026
10 checks passed
@harishdm
harishdm deleted the allocate branch July 13, 2026 07:08
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.

2 participants