Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
higher.c: don't try to free unallocated memory
ldns_rr_new_frm_str() will only return an allocated rr if if can successfully parse the string. Don't try to free rr unless this is the case. Some malloc implementations (e.g. Mac OS X) crash when trying to free unallocated memory.
- Loading branch information