netconf: Put nc reference in msg_parser

netconf_msg_parser is leaking memory. Add the put in the newly
allocated nc object to release the initial reference.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>

http://lists.infradead.org/pipermail/libnl/2017-September/002378.html
1 file changed