-
-
Notifications
You must be signed in to change notification settings - Fork 384
mapfile.c: hashTableSubstituteString leaks memory #5325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Milestone
Comments
Can you create a pull request/patch for this please ? |
Something along the lines of this: |
Perfect! If you want your name in the commit logs create a pr with that, if not i'll apply myself. Thanks. |
Just apply it! |
tbonfort
added a commit
that referenced
this issue
Sep 15, 2016
applied to branch-7-0, thanks @gogglesguy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the line:
msInsertHashTable(hash, key, msCaseReplaceSubstring(msStrdup(val), from, to));
The result of msCaseReplaceSubstring is never freed. HashTable stores a copy of it.
The text was updated successfully, but these errors were encountered: