Merge lp:~mterry/geonames/double-free into lp:geonames
Proposed by
Michael Terry
Status: | Merged |
---|---|
Approved by: | Michael Terry |
Approved revision: | 21 |
Merged at revision: | 21 |
Proposed branch: | lp:~mterry/geonames/double-free |
Merge into: | lp:geonames |
Diff against target: |
12 lines (+1/-1) 1 file modified
src/geonames.c (+1/-1) |
To merge this branch: | bzr merge lp:~mterry/geonames/double-free |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michał Sawicz (community) | Approve | ||
Geonames developers | Pending | ||
Review via email: mp+287359@code.launchpad.net |
Commit message
Fix double-free when querying.
Description of the change
Fix double-free when querying.
To post a comment you must log in.
Since we're no longer discarding const, you can also drop the cast.
Looks good, otherwise. Surprised this never caused a problem before.