jsoninfo: fix a resource leak
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 08:46:08 +0000 (10:46 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 23 Oct 2012 11:45:14 +0000 (13:45 +0200)
commit6a42d773b2d142fb36cd6500490ed6b412857b36
tree7867536c7ca7a13018f16ed1c9bd38c21fc560d1
parentcd7450690517143135ae7566e9457639ba515407
jsoninfo: fix a resource leak

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

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