Skip to content
Snippets Groups Projects
Commit 4a259c01 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Partially ported server to dname reference counting.

No leaks so far with server execution.

* Newly created dnames have refcount=1, caller is responsible for releasing them.
* Copied dnames have also refcount=1 (as they are new).

To do:
* Carefully implement more uses of dname not protected by refcounting.
* Consider renaming dnslib_dname_copy() do _duplicate() as it creates duplicate.
* Consider shallow copying of dname, as it's possible with refcounting.
* Test and review.

Commit refs #993.
parent 5198980f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment