nameservice: fix a resource leak
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 08:39:48 +0000 (10:39 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 11:45:14 +0000 (13:45 +0200)
commite40eb87261dcaff781e1f620ad1df6d92eebda19
tree38ac0e764e9b1b8e91fd8388acf87026b25352bd
parenta6fea34227e0d030576106b1455728dc6ab13909
nameservice: fix a resource leak

Coverity:
CID 739678 (#1 of 1): Resource leak (RESOURCE_LEAK)
At (24): Handle variable "fd" going out of scope leaks the handle.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/nameservice/src/nameservice.c