pud: fix resource leak
authorFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 22 Oct 2012 09:48:21 +0000 (11:48 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Mon, 22 Oct 2012 11:55:38 +0000 (13:55 +0200)
commitafd17ee16f34e0df5461a93f7d5deb239f4bcca0
treed1ce99d25cea90f7c4d6c25af8b94b307a8c07cd
parenta8b2769b1cf30ed86137bc0e86ebe6d745d9d45c
pud: fix resource leak

Coverity:
CID 739679 (#1 of 1): Resource leak (RESOURCE_LEAK)
At (24): Variable "fd" going out of scope leaks the storage it points to.

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