-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Milestone
Description
In file pac_utils.h line 339 str_replace.
char *tmporig = malloc(strlen(orig) + 1); // Copy of orig that we work with
The variable tmporig is allocated but never freed or returned, this cause a memory leak in pacparser_find_proxy (and probably some other APIs).
Adding free(tmporig) in the end of the function will solve this leak.
Thank you.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels