Skip to content

Fix memory leaks with regcomp usage - #120

Open
slaigre wants to merge 2 commits into
DPDK:mainfrom
slaigre:fix-mem-leaks
Open

slaigre wants to merge 2 commits into
DPDK:mainfrom
slaigre:fix-mem-leaks

Conversation

@slaigre

@slaigre slaigre commented Sep 14, 2026

Copy link
Copy Markdown

A regular expression compiled with regcomp() must be released with regfree() when it is no longer needed, otherwise the resources allocated by regcomp() are leaked.

This PR fixes some of theses issues.

Signed-off-by: Sébastien Laigre <s.laigre@ateme.com>
Signed-off-by: Sébastien Laigre <s.laigre@ateme.com>
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.

1 participant